Error when testing cache ( Cache not working for dynamic/static pages)

This is one of the most common troubleshooting questions for this plugin and there are a few things you can try out before reaching out for support.

I would also like to enuntiate that this error sometimes appears even if the plugin is working correctly on your website, thus the best way to check if the plugin is working correctly is to check the response headers first and see if you get the HIT cache status.

Now let's move on to the troubleshooting stage:

1) You might have another caching system overwriting our plugin thus please make sure you are not using any other caching method when this plugin is installed. Also, check for caching methods implemented by your hosting provider. You can use another plugin like WP Rocket to optimize CSS/JS however, you need to make sure that caching is not activated for that plugin.

2) Make sure your page does not use cookies. Cloudflare will not cache any page containing cookies as it thinks that they are used to show content dynamically on the pages (cookies can be found by opening the page with Inspect Tool in Chrome > Networking tab > Set-Cookie appears). So, you can either remove the plugins which are adding these cookies or try enabling the strip response cookie option. This option can be found in the plugin settings > Cache Tab > Cache Behavior Settings.

3) Make sure that you don't have any other rules set up in your Cloudflare account. The plugin needs to set up its own rule in your Cloudflare account for it to properly work. If you are using the free plan from CF then you are only allowed to have 3 rules, 1 needs to be the one set up by the plugin.

4) Make sure that your URL has the same format in your CF account. (HTTP VS HTTPS) If the URLs do not match, you will experience problems. You can check this by going into your CF account > Page Rules > See if the URL is HTTP or HTTPS. If you have an SSL certificate installed on your website it should be HTTPS.

5) Try disabling and then enabling cache inside the plugin in case the page rule was not yet added to your CF account.

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

Still need help? Contact Us Contact Us