X-Cache MISS when WP Rocket is activated

In WP Rocket's htaccess rules, we set an expires of 0 on the HTML document. 

This ensures that the browser does not store out-of-date content, so that the visitor will always see the correct content. 

However, if you are also using another layer of caching like Varnish, or Sucuri, for example, this rule can prevent that cache layer working correctly. 

As a result, you may see something like:  x-cache: MISS in the headers of your page.

To resolve this, install and activate the helper plugin below, which will remove the HTML expires rule from the htaccess file. 

📥   Download (.zip):  WP Rocket | Remove HTML Expires from .htaccess rules
Developers: You can find the code for this plugin on GitHub.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.