WP Rocket tests to Cache status: EXPIRED
-
WPR in conjunction with WPCSPC always gives
Cache status: EXPIRED
when hitting the “Test Cache” orange button on WPCSPC. Tried all combinations I could think of with both plugins to no avail.After some digging, noticed WPR writes the following in
.htaccess
:ExpiresByType text/cache-manifest "access plus 0 seconds" # Your document html ExpiresByType text/html "access plus 0 seconds" # Data ExpiresByType text/xml "access plus 0 seconds" ExpiresByType application/xml "access plus 0 seconds" ExpiresByType application/json "access plus 0 seconds"
Changing those values for e.g. to:
"access plus 1 hour"
fixes the aforementioned issue in WPCSPC (at least for the time given in that value setting), but I’m unable to see an option to modify those settings properly in neither of the plugins nor CF. Enabling Add browser caching rules for assets in WPCSPC adds rules at the end of htaccess that do not address text/html.Could you please advise what’s going on and how to fix it?
Thanks!
- The topic ‘WP Rocket tests to Cache status: EXPIRED’ is closed to new replies.