• Good afternoon. I am hoping someone can give me some pointers. I have had the Super Page Cache plugin running successfully for years. I recently updated WP to 6.1.1 and updated all plugins and it now appears the CF is no longer caching my website. Not sure if this is coincidence or something else. Using Super Page Cache 4.7.2.

    I have created a new API Token on CF and tested using cURL and that all says valid. I have gone into the SC plugin and copied in the new CF token and set everything to default. Still not caching.

    Where can I check next? Is there now something on my website telling CF not to cache? Not sure where to go next.

    Many thanks – Colin

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter colinjack

    (@colinjack)

    A bit more info. If I check headers using https://www.webconfs.com/http-header-check.php I get

    HTTP/1.1 200 OK =>
    Date => Sat, 14 Jan 2023 18:51:43 GMT
    Content-Type => text/html; charset=UTF-8
    Connection => close
    X-Powered-By => PHP/7.4.21
    cf-edge-cache => cache,platform=wordpress
    Link => ; rel="https://api.w.org/", ; rel="alternate"; type="application/json"
    Cache-Control => max-age=14400, s-maxage=31536000
    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
    Strict-Transport-Security => max-age=31536000
    Content-Security-Policy => upgrade-insecure-requests
    X-Content-Type-Options => nosniff
    X-XSS-Protection => 1; mode=block
    Expect-CT => max-age=7776000, enforce
    X-Frame-Options => SAMEORIGIN
    Permissions-Policy =>
    CF-Cache-Status => MISS
    Last-Modified => Sat, 14 Jan 2023 18:51:43 GMT
    Report-To => {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=BIGinLAwXyb5%2BzcT0ReVRu0sHO3EpXLXIhXthrHKDO5fG2KfCKKIR5W%2BvE7XoSsb7pwPFgqSy6RjSwAgfXstMIxHMzd242R2jY%2BMPu%2Bj%2F%2Bp%2BnMe%2FgGenzKPs3K%2BmOYbDBWF9jA%3D%3D"}],"group":"cf-nel","max_age":604800}
    NEL => {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
    Server => cloudflare
    CF-RAY => 78989065683a22e8-ORD
    alt-svc => h3=":443"; ma=86400, h3-29=":443"; ma=86400

    So it appears Super Cache is good. DNS still points to Cloudflare, but CF Cache status = miss. ??

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @colinjack,
    Looking at the response header of your home page, I see many issues.

    1. It seems that you are using the default Cloudflare plugin + APO with this plugin. Which is not recommended and supported. When using this plugin, you need to make sure that you have deactivated and deleted the official Cloudflare plugin from your website. Then you also have to ensure that you have disabled the APO inside your Cloudflare dashboard.
    2. Looking at the cache-control header, it seems that the header value is not being managed by this plugin cause when the plugin is working properly, then the value of cache-control and x-wp-cf-super-cache-cache-control should match. But that is not the case for your site: https://i.imgur.com/XfPe53A.jpeg
    3. Also do send me a screenshot of the Page Rule section of the Cloudflare Dashboard so that I can see what rules are there and what’s going on there.
    4. When using this plugin please make sure that you are not using the default Cloudflare plugin + APO, or any other page caching system (plugin or server level). You need to ensure this is the only page caching system that you have, so that no other system/plugin is overwriting the cache-control header that this plugin sets.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cloudflare not caching anymore’ is closed to new replies.