html cache control header is ignored when logged-in
-
The html cache policy for html I chose is no-cache, no-store etc. using w3 total cache settings.
When logged-in, the cache policy for html is ignored and the default apache cache policy is used (no-cache, must-revalidate, max-age=0).
If I add the following to htaccess then the cache header I select will be enforced to html:
<filesMatch “\.(x?html?|php)$”>
Header set Cache-Control “example”
</filesMatch>I believe it is due to php being added.
It might not seem as a big deal but the website is extremely slow for logged-in users only, which was not the case beforehand.
I believe it is elementor plugin (free) that is causing the above issues with the html cache control. I dont know if the new version (3.8) triggered this.
I will appreciate any info on resolving the above.
- The topic ‘html cache control header is ignored when logged-in’ is closed to new replies.