Page caching seems not working for both dynamic and static pages.
I get two messages when testing the cache:
Error on dynamic page (my website): Cache status: DYNAMIC – The resource was not cached by default and your current Cloudflare caching configuration doesn’t instruct Cloudflare to cache the resource. Instead, the resource was requested from the origin web server.
Error on static resource (mywebsite/wp-content/plugins/wp-cloudflare-page-cache/assets/testcache.html): Unable to find the Cache-Control response header.
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 Cloudflare and the only Page Rule is the one from the app, the caching config is standard with Broswer Cache TTL as Respect Existing Headers. I have tried strip cookies even though I have none that I know of. Basic standard Cloudflare setup as I’ve only just added my site to it, so I haven’t added any customisations or the like.
Every page continues to display as Cache Status: Dynamic. And then there’s the static issue from your test page.
What do I do from here?
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس