• Page caching seems not working for both dynamic and static pages.

    Error on dynamic page (https://buylad.com): The plugin is not detected on your home page. If you have activated other caching systems, please disable them and retry the test.

    Error on static resource (https://buylad.com/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.
    Close

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @yokade,
    When checking your website headers (screenshot: https://i.imgur.com/lSWkHXt.png) I saw that lots of custom cookies are being set on each page. Please note that when Cloudflare sees custom cookies in a page it believes that the page content might be dynamically dependent on those cookie values and hence don’t cache it.

    You can either try alternative plugins which are not gonna add those cookies to every single page or you can try enabling the “Stripe response cookie” option in the plugin settings (cache tab) and see how your site works with that option turned on.

    When I am checking the https://buylad.com/wp-content/plugins/wp-cloudflare-page-cache/assets/testcache.html page’s response header, I can see that it is getting cached to CF CDN Edge (screenshot: https://i.imgur.com/fHdLXjC.png) as those cookies are not here.

    Hope this clarifies the matter.

Viewing 1 replies (of 1 total)
  • The topic ‘Error: Page caching seems not working for both dynamic and static pages.’ is closed to new replies.