Site not caching
-
Hello,
When I hit the TEST CACHE button I receive the following error:-
Page caching seems not working for both dynamic and static pages.
Error on dynamic page (https://fableandguild.com): Invalid Cache-Control response header. If you are using Litespeed Server, please disable the option Overwrite the cache-control header for WordPress’s pages using web server rules, purge the cache and retry.
Error on static resource (https://fableandguild.com/wp-content/plugins/wp-cloudflare-page-cache/assets/testcache.html): Cache status: BYPASS – Cloudflare has been instructed to not cache this asset. It has been served directly from the origin.
Please check if the page caching is working by yourself by surfing the website in incognito mode ’cause sometimes Cloudflare bypass the cache for cURL requests. Reload a page two or three times. If you see the response header cf-cache-status: HIT, the page caching is working well.
I have checked my Respone-Headers in FireFox (in a Private Window and not logged in) and have the following entries:-
Cache-Control: s-max-age=604800, s-maxage=604800, max-age=60
Cache-Control: private, must-revalidate
CF-Cache-Status: BYPASSAs a bit of background I set up CloudFlare a few days ago and used the rules based recommendations for WooCommerce (from CloudFlare) where I set 3 rules. The CloudFlare WP Plugin was also installed.
I found your excellent plugin when searching around and have installed it. The extra rules have been removed in CloudFlare, other than the one created by the plugin to Cache All. The CloudFlare Plugin is Deactivated. Also I deactivated the caching in WP-Optimize that I was using prior to CloudFlare and have activated the Enable fallback page cache in WP Cloudflare Super Page Cache.
I have PerfMatters plugin installed and tried deactivating that, but no change. WP-Optimize now just does Db and minification.
I am using Bluehost (the Single-Server Caching Control option is Off) and running on Apache v2.4.46.
Any ideas as to why I might not be caching correctly in CloudFlare?
- The topic ‘Site not caching’ is closed to new replies.