DEV Community

Discussion on: What was your win this week?

Collapse
 
iksaku profile image
Jorge González

I've finished making optimisations to my next blog revision. Currently, it's making a Ajax request to get a paginated list of posts, and when rendering post preview, makes another request, and so makes another one when you enter to see the complete post. With the new optimisations, it'll only make the first request for the list of posts, then re-use the available data to display both post preview and full post, reducing client load times and server stress.