Currently, there's very little pagination going on. This means that for each course, we load ALL the reviews. On a profile page, we load ALL friends. For professor reviews, we load ALL of them, even though we don't actually display them all. (Max 3 to start, with the option to expand for more). Paginating would be a big improvement, and hopefully lead to faster load times as well as less load on the database.
Currently, there's very little pagination going on. This means that for each course, we load ALL the reviews. On a profile page, we load ALL friends. For professor reviews, we load ALL of them, even though we don't actually display them all. (Max 3 to start, with the option to expand for more). Paginating would be a big improvement, and hopefully lead to faster load times as well as less load on the database.