Page caching seems not working for both dynamic and static pages
-
I enabled page caching with no error, but when i test cache, it reported as following :
-
Same here… Did you checked your response header?
I have the same issue, after checked the Response Header, everything looks normal…
Below is my response header:
cf-cache-status: HIT server: cloudflare vary: Accept-Encoding x-wp-cf-super-cache: cache x-wp-cf-super-cache-active: 1 x-wp-cf-super-cache-cache-control: s-maxage=31536000, max-age=60 x-wp-cf-super-cache-cookies-bypass: swfpc-feature-not-enabled
Any idea?
Me too, most assets got HIT. but i still wonder if anything’s wrong.
Hi @naratt,
As I can see here it seems you are using the CLoudflare official plugin along with APO with this plugin. If you have the CLoudflare plugin installed please remove that.Hey @fredpan,
Please share your website URL so that I can check here. If you response header is showing HIT for your HTML pages and static content then the plugin is working perfectly. Sometimes the test cache button shows false negative. But do share your site URL so that I can test and check here.- This reply was modified 3 years, 5 months ago by iSaumya.
I have the same issue. Please, help me out. Website url is https://oldnaija.com
Thanks.
Hey @leederrty97,
your page has double cache control header. Check what is adding the second cache control header and get rid of that (probably added by your server rules). Screenshot: https://i.imgur.com/TDtkS3g.pngKindly help check if it is still there. I just uninstlled wp-super cache. Thanks.
Yes it is still there @leederrty97. Please use the chrome dev tools to check the response header of the first request. You will see it yourself. This is probably being added by your server configuration or htaccess.
@isaumya I used to install Cloudflare plugin long ago but not anymore. It’d been uninstalled. >> https://i.imgur.com/3h7ZyZK.png
I also suspect why it’s also shown in Cloudflare that the plugin is installed >> https://i.imgur.com/JRgq7gH.pngHowever, do you mean i cannot/shouldn’t enable Cloudflare APO altogether with WP CF Super page cache ?
Do you recommend CF free plan over Pro plan ?Im still getting the error in the plugin tho but after a few chat with my hosting provider, my google dev tool now shows “cf-cache-status: HIT” in the response header. Should I still be worried?
Hey @naratt,
However, do you mean i cannot/shouldn’t enable Cloudflare APO altogether with WP CF Super page cache ?
Do you recommend CF free plan over Pro plan ?– Yes you should not enable APO when using this plugin. If you can afford the pro plan, definitely go with it. It will give you image optimization, WAF and so much more.
As for @leederrty97, I still see 2 cache control: https://i.imgur.com/NOlgMnH.png
😢 I don’t know how to do that. I don’t know what else to do. Can you please help with that?
@isaumya I disabled APO >> https://i.imgur.com/ip4zNvL.png
and tested again >> https://i.imgur.com/aVGOJMW.png
Now, Page caching is working for static page but seems not working for dynamic pages.What can i do now ?
Hi @leederrty97,
as I said, that cache control might be getting added by some server rule or somemu-plugin
you might have on your website.Hi @isaumya , after waiting several hours, now it works… don’t know why but it works…
Thanks for the confirmation @fredpan.
- The topic ‘Page caching seems not working for both dynamic and static pages’ is closed to new replies.