Load More Pagination
-
Okay, I’ve looked all over for an answer to this but no luck.
Using Woocommerce, Elementor, and pagination for the custom product archive pages, and have been asked by the client to change pagination to Load More, which I have been testing on a staging site (FacetWp). Had to build a new grid as the old one didn’t allow it (and didn’t want to add another plugin when far too many already). Everythinng seems to work fine but…
I’m wondering if the plugin actually caches the products after the first lot have loaded (I have it set for 25 products initially), and the Load More is clicked to load another 25 and so on. I’d assumed that when the Load More was clicked it would be treated like Page 2 and cached and would do so everytime the Load More is clicked (just like clicking pages).
When I next visited the page after it was cached (used a different browser not logged in) I would have expected near instant loading like when pages are cached and you hit page 2, 3 etc. But not so. In fact while the initial 25 products load quickly, clicking the Load More is no faster than not having the cache on – it’s fast enough with or without, but I’m suspecting it’s not actually caching those after the intial first load.
I had a look at View Page resource and though the page was cached those ‘extra’ products after each submission of the button weren’t listed. Server seems to show more resources used for clicking that page than the one on the live site with pagination too.
I don’t combine any of the JS or CSS files (caused problems for me) and I have switched off ESI on the staging site (it’s on at the live one). I don’t have object cache on either. Is there a setting that should be on/off when using Load More/Infinite Scrolling pagination to make sure all on the page are cached after the initial load, or is it just a thing that caching and Load More/Infinite Scrolls don’t work together well.
I’m about ready to tell the client he might have to stick with traditional pagination.
- The topic ‘Load More Pagination’ is closed to new replies.