Question regarding the primary menu and Cloudflare Edge Caching

Posted in: Newspaper
Post count: 70

My website is hosted on Cloudways/DigitalOcean, so as part of my hosting I can use Cloudflare Enterprise Edge caching which is essentially full page caching. However, once I turn it on the main menu starts behaving strangely, namely not showing on about 10-20% of the pages, or showing, but not working.

My hosting company say it could be due to the Newspaper page builder, and due to some kind of caching used in it. I have turned it off for now, but would like to use it ASAP as it offers a huge speed advantage for my site.

Do you know of anything in Newspaper that would cause this?

Post count: 35449

Hi,
Most likely this happens when certain elements of css and javascript are required, what you could do is to exclude these files (so that they are not boxed).
Please try to exclude the:
– wp-content/plugins/td-cloud-library/assets/js/tdbMenu.js
and if the problem persist exclude this file too:
– wp-content/plugins/td-cloud-library/assets/css/tdb_wp_admin.css
I hope this will help you!

Post count: 70

Thanks!

Post count: 20

Hi Calin,

Hi Calin. I have the same situation, but I only see it from my mobile phone. Can the exclusion you suggested solve the problem for me? I switched to Cloudflare on Friday, also to speed up the website. Apparently – although I know it’s part of the support, but I’ll give it a try because I failed to solve it – after minifying the javascript and css files, one of my important ads (the javascript code is placed in the footer because it’s displayed as a bottom ribbon ad by a third party) doesn’t show up. Even after I turned off the minifying, I still couldn’t get it to revert. Do you know what could be the conflict? Thank you very much!

Post count: 35449

Hi birkasi, if you situation with the mobile menu is the same, then yes, please exclude the mentioned files.
Related to js for ads, are those from AdSense? If so, there are some AdSense codes that are auto ads and will be set in the place where they consider is the best place, if are regular ads, then just make sure that after you set back the unminify js all the cache and CDN are purge.
I hope this will help you!

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