I’ve put myself into an uneasy situation, where I have roughly 200 posts I need to load in with jQuery .load(). Nothing shows up until the whole .load() has executed, of course. Takes roughly 3 to 4 seconds.

What would be the best way to chop up the big load query to smaller junks, like 50 posts per query. So that the user would see something at least, most of the posts are under the fold anyway.

It can’t be a lazyload or inifinite scroll, cause there’s an Isotope filter at the top and all post eventually have to be in the DOM to be sortable.

Read more here: Chopping up a large ajax request of around 200 posts


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , ,

Wordpress related questions and answers: