I have infinite scroll set up on my site, but there is a noticeable delay when the user scrolls to the point where it loads more posts. I’ve got feedback saying they think that’s the end of the posts because of the delay. Is there a way to make the loading faster? Or to add a loader animated GIF while the posts are loading so people realise more posts are coming?
The new posts should begin to fetch once you’re 600px from the bottom of the page. Your site is currently loading pretty slowly, which is why it’s taking so long to grab the new posts.
I ran your site through Pingdom, and it took 4 seconds for your server to download 25kb of data, which is very slow. Perhaps try contacting your host and ask them to update you to PHP 7. Then ask if there’s anything else they can see on the server side of things that would be slowing the site down.
A spinner would be a good idea while infinite scroll is loading new posts – I’ll get that added to GPP 1.7.
You could also choose to display the load more button for now – that would show people more posts exist.
Sorry for commenting on this post but I have a similar question. Do I need to install the GP plugin (from the WP repo) for infinite scroll if I have GPP? I don´t seem to find that setting on the customizer.
And please add the spinner, Tom, it’s a great idea. And more if it woulbe costumizable, the icon/gif I mean.