craigadams/ivan_the_terribles_blog — pull request #1 by craigadams (2014-05-27 23:47:47+00:00)
Title: Performance - Ivan The Terribles Blog

Observation: Pagination is totally awesome. It was pretty easy to setup using the defaults. My baseline before optimizing this rails application was 1 minute 14 seconds. I was able to optimize it down to 1.4 seconds. These times were obtained by executing time curl. I used pagination, caching, and eager loading for this assignment.

I set the pagination to 5 posts per page. In this case, the comments/replies were quite large so, 5 seemed like a good number. Is there a rule of thumb to follow when using pagination on how many items per page and should the page navigation be at the top, bottom, or both top and bottom?

Collaborators: none