• Resolved joaopc23

    (@joaopc23)


    i keep getting this error when trying to check if cache is working:

    Page caching seems not working for both dynamic and static pages.
    
    Error on dynamic page (https://planetgreenrecovery.com): Cache status: BYPASS - Cloudflare has been instructed to not cache this asset. It has been served directly from the origin.
    
    Error on static resource (https://planetgreenrecovery.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.

    Overwrite the cache-control header for WordPress’s pages using web server rules
    SET TO OFF

    Strip response cookies on pages that should be cached
    SET TO OFF

    I current dont have any other optimizer plugin, but I installed W3 and Lite Speed Cache before but desactivated and removed from my plugins

    • This topic was modified 4 years, 7 months ago by joaopc23.

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

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

    (@isaumya)

    Hi,
    It seems there are some page caching plugin already present in your site OR some server level page caching is enabled. If you look at the response header of your site: https://i.imgur.com/lbB6Qqi.png

    I can see that the cache-control value is not what it is supposed to be if the plugin was managing your the header value. Also there is no extra response headers that this plugin adds when in action.

    This leads me to belive that this might be a some sort of cached page. Also you need to look at and find out what is adding the cache-control: max-age=0 is it some plugin or your sever rule? Once you figure that out you need to remove that so that the plugin can handle the cache-control header.

Viewing 1 replies (of 1 total)

The topic ‘Cant cache using cloudflare’ is closed to new replies.