CloudFlare breaks “Load More” on mobile browsers

Posted in: Newspaper
Post count: 34

My site is served through CloudFlare. For several months, the “Load More” (or, alternatively, infinite load–any function that is designed to load additional posts) on the main page has been broken. You get a spinning wheel. However, if you turn off CloudFlare (or put it into Developer Mode), the problem immediately goes away. Is there a way to avoid this problem? Thanks.

Post count: 35449

Hi,
What you can do is to try to exclude the js code for pagination on CloudFlare. Try to exclude those files: tdLoopAjax.js and tagdiv_theme.min.js
I hope this will help you!

Post count: 34

Thanks. Unfortunately, this did not work. Nor did excluding all .js from the cache. Purging the cache entirely solves the problem temporarily, however. What else can I do? Thanks.

Post count: 20688

Hi,

That’s a bit unusual, because we use cloudflare for almost all our websites and demos, and there are a lot of theme users that use it as well.

Are you using any custom rules in cloudflare perhaps? Or you could try to create a rule to not block the theme ajax requests used for pagination.

Something like this:
https://community.cloudflare.com/t/admin-ajax-error-403/609324
https://community.cloudflare.com/t/wp-admin-admin-ajax-php-returning-a-403-error/424352

I suggest checking the rules first, you can pause them and check again. By default cloudflare should not cause such problems.

Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.