• Resolved marxgal

    (@marxgal)


    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?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    Can you share your website URL so that I can take a look into the response headers?

    Thread Starter marxgal

    (@marxgal)

    Sure thing – I wasn’t sure if posting links was allowed. It’s https://theaudiobookreview.com

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    Can you share a screenshot of page rule section from your cloudflare dashboard?

    Thread Starter marxgal

    (@marxgal)

    Hey, so I tested this morning and it’s now passing all the tests. I didn’t change anything overnight. Could it have been a Cloudflare problem?

    I’m getting cache status returns of HIT now.

    Thread Starter marxgal

    (@marxgal)

    FWIW – Now that it’s working, GTMetrix grade for my site is now “A” with performance of 100%. Largest Contentful Paint down to 543ms

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    Cloudflare has a service outage for past few days, so that might be the reason behind this.

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