Problem with auto loading posts

Posted in: Newspaper
Post count: 22

Post auto loading feature is great and increases number of page views and decreases bounce rate. As you can see in the image below.

https://snipboard.io/CQUgLr.jpg

But this auto load feature works only when I purge all wp-rocket caches. Notice the sudden decrease in the image above. Within 24 hours auto load feature doesn’t work. As you can see the sudden increase of bounce rate in the picture below.

https://snipboard.io/BLgShw.jpg

With auto load I get 2x more page views and 40% low bounce rate normally.

I think there is something to do with the wp-rocket and auto load conflict. I checked it several times, compared it with google analytics and the result is that when I purge the cache, auto load feature works, then after 24 hours I just see square waiting animated icon of the Newspaper theme.

To be sure, again I have just purged the cache to see the difference and here is another result:

https://snipboard.io/5lK6nU.jpg

I can’t figure out the solution. You can see it here:
https://www.english-learn-online.com/vocabulary/classroom-objects/learn-classroom-objects-vocabulary-in-english/

If it works in the above link then it means I have just purged the cache.

Possible scenario:
Maybe wp-rocket plugin defers or blocks javascript that functions as auto load. >> If so, is there a js file or javascript function that I should stop defering in wp-rocket?

Post count: 22

By saying “auto load” I meant “infinite load” of posts.

Post count: 21065

Hello!

Unfortunately, we have not tested this cache plugin, so we can’t say if it will work or not. You will have to test and see. Also please note that we don’t offer support for untested plugins.
We recommend using the WP Super Cache plugin with this configuration: https://forum.tagdiv.com/cache-plugin-install-and-configure

You can try with the file: /wp-content/plugins/td-cloud-library/assets/js/js_posts_autoload.min.js

Thank you!

Post count: 112

Hey Demir,

Do you manage to fix the infinite posts not working issue – I have the same problem

Post count: 30

The same issue occurs with WP-Fastest Cache. Same workaround, no permanent solution yet.

Post count: 22

I couldn’t, yet. I think the problem is the conflict of cache expiry time and cloudflare settings. Plus, It can be a “nounce” expiry problem as mentioned in some articles.

Post count: 112

I feel that is the problem too! I have noticed that after that same period of time 12-24hours my core web vitals begin to suffer too – so, it’s not just the infinite load that becomes a problem – other scripts stop working too. Do you use Cloudflare APO? I think theres so weird stuff happening where WP-Rocket is not clearing the Cloudflare cache properly…

Post count: 22

Yes, I use APO but I set cloudflare respects header ttl of the website.

I think it is a common problem with cache plugins when they cache pages with form fields on pages. So they want security and they set a “nonce” lifespan of 24 hours. This breaks the page with forms and js.

Wp-rocket advices to set cache lifespan to 12 or even lower in the cache settings This makes server load every 10-12 hours. And cloudflare cache also must be cleared.

I do it manually now. Maybe wp-rocket team can support better solution if we request with new topics and referencing this topic.

Note: As far as I know current wp-rocket version doesn’t support APO, so when you enable CF addon, clearing wp-rocket cache will not clear CF cache at the same time. This can be a feature request for wp-rocket.

For further info you can read this article.

Post count: 22

Wp-rocket still doesn’t support Cloudflare APO for about one year. https://docs.wp-rocket.me/article/1444-is-wp-rocket-compatible-with-cloudflare-apo

Post count: 112

Yeah I’ve been using the Cloudflare WordPress plugin to connect to APO – and turn off the addon in WPR.

So how often do you clear the Cloudflare cache? And isnt that giving your site speed a mega hit doing that all the time? I’d like the APO system to just rebuild the page html when dynamic content gets updated – that was I’m not clearing everything from cloudflare edges (including images, js, css etc).

I guess we as consumers just assume these things work out the box as that’s how they market them, when in reality they don’t. Such a bummer!

Also really wish cloudflare would put a guide together sharing optimal setup instructions for use with WP-Rocket (or alternatives) – I assume because the guides don’t exist that maybe it’s not possible.

Post count: 112

I thought the theme update (11.3) would have fixed this auto load issue as the theme changelog had this in it:

– fix: Infinite loading and internal links issue;

The autoload/infinite scroll posts error I still see is this:
/wp-json/td-cloud-library/ajax_autoload?uid=ed0efe54-3234-e3ea-8fb3-4e298d49e57f 403

And this basically stops autoloading of the next post from working about 12 hours after clearing caches.

-Alastair

Post count: 21065

Hello!

Please make sure you have the latest version of the PHP, WordPress, theme and plugins(11.3).
Delete and re-install the TagDiv Composer plugin.

If the problem is still there, then we need to take a look and see what happened there.
Please contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– cPanel url and credentials
– a link to this topic in order to identify you
Our team will take a look!

Thank you!

Post count: 22

Still I have the problem with auto load. Tried many different variations. I think nor tagdiv team nor wp-rocket can do anything because of the security concerns. My whole site is static. I don’t need nonce or any other security concern for form fields. Yet I have to face this issue and manually purge cache every day or change wp-rocket or get rid of auto load feature of Newspaper theme which seems appealing.

Viewing 13 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic.