Hello tagDiv Team,
I hope you are doing well.
I am writing regarding a long-standing issue I have been experiencing with the Newspaper theme. This problem has been happening for approximately 7 years. I always hoped that future updates would eventually fix it, but unfortunately, it still persists.
The issue occurs when I use Cloudflare with the “Cache Everything” rule enabled (caching full HTML). This configuration has significantly improved my website performance and loading speed, which is extremely important for my project.
However, the problem is specifically with the mobile menu.
Randomly, when visiting the site on mobile and tapping the menu icon (hamburger icon) to open the side menu, the menu becomes completely unresponsive and does not open. The icon appears, but tapping it does nothing.
This issue:
Only happens on mobile devices.
Happens randomly — sometimes the menu works perfectly, other times it becomes blocked.
When it fails, it stays blocked until cache is cleared or refreshed.
Seems related to Cloudflare caching full HTML content.
Because it is random, you may sometimes see it working and sometimes not.
Please test this URL on a mobile device:
https://www.bibliatodo.com/TestimoniosCristianos/de-indigente-a-predicador-testimonio-impactante/
I have also recorded a video demonstrating the issue and will provide the video URL below.
After many years trying to investigate and solve this on my own without success, I was even considering changing the theme. However, I realized I never formally contacted you about this issue.
So I am reaching out with the hope that you can guide me toward a proper solution or best practice configuration when using Cloudflare Cache Everything together with Newspaper theme.
Could you please advise:
Is there any known compatibility issue between Newspaper and full HTML caching?
Is there a recommended Cloudflare configuration for this theme?
Are there specific scripts, cookies, or paths that should be excluded from caching?
Is there a known fix for the mobile menu becoming unresponsive under aggressive caching?
I truly appreciate your support and guidance.
Thank you very much in advance.
Best regards.
Hi,
This situation is usually related to the JS code that should be executed to display the mobile menu, so this should be added as an exception from teh cache.
I see that you have a standard header, so there is a smaller problem, because the code on the standard pack has a single JS file, which is not on the elements as the cloud templates. The file that should be excluded is tagdiv_theme.min.js also another file that can be excluded is the theme file for js tagdiv-theme.js and minify version tagdiv-theme.min.js