Cloudflare cf-edge-cache response header is missing

Home Forums BulletProof Security Pro Cloudflare cf-edge-cache response header is missing

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #44425
    Fredel007
    Participant

    Hey,

    my Cloudflare Plugin says: cf-edge-cache response header is missing! Please clear any server cache used via other plugins for http://www.bergtour-online.de

    CF Cache Status seems to be ok but i added:

    <IfModule mod_headers.c>
    # Cloudflare Edge Cache aktivieren
    Header set CF-Edge-Cache "cache,platform=wordpress"
    </IfModule>

    in htacces but message still there..

    any idea how to fix :))

    thx !!

    #44426
    AITpro Admin
    Keymaster

    Not sure if is as simple as a syntax error, but you don’t have a space after “cache” and before “platform…”.  I think with Headers a space syntax error is non-critical. so probably not an issue. Setting a header is a cosmetic thing in this context. So the “error” message may be a non-error. What exactly do you feel is the issue?

    #44427
    AITpro Admin
    Keymaster

    This is what I see when I check the site’s Headers > https://www.ait-pro.com/aitpro-blog/website-headers-check/

    date: Thu, 19 Dec 2024 00:44:36 GMT
    content-type: text/html; charset=UTF-8
    cf-ray: 8f435d795948f7d7-LAX
    cf-cache-status: HIT
    age: 45
    cache-control: s-maxage=30532000, max-age=60
    last-modified: Thu, 19 Dec 2024 00:42:06 GMT
    vary: Accept-Encoding
    cf-apo-via: tcache
    cf-edge-cache: Array
    x-cache-status: HIT
    x-wp-cf-super-cache-active: 1
    x-wp-cf-super-cache-cache-control: s-maxage=30532000, max-age=60
    x-wp-cf-super-cache-cookies-bypass: swfpc-feature-not-enabled
    x-wp-spc-disk-cache: DISABLED
    report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=qW%2F0VU6LT5C%2FilIhAwIe4kinr6DsH9HA0AoxzN1CfnE0TbUzt78sqsUT0VcE1TZnYTmwrbc8udULtZtSqYfBnr7E61ZoyEnpRyaFePcicNa0uGD0MMlAA8Uc1TcUDyAmBGFRObyZYBY%3D"}],"group":"cf-nel","max_age":604800}
    nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
    server: cloudflare
    content-encoding: gzip
    alt-svc: h3=":443"; ma=86400
    server-timing: cfL4;desc="?proto=TCP&rtt=9800&min_rtt=9710&rtt_var=2809&sent=4&recv=7&lost=0&retrans=0&sent_bytes=2859&recv_bytes=797&delivery_rate=298034&cwnd=252&unsent_bytes=0&cid=5b5d86e7984149d7&ts=46&x=0"
    #44428
    Fredel007
    Participant

    yeah should be ok!? – thanks a lot.

    another topic that popped up during this: APCU Manager somehow caches the htaccess root custom code so i cannot save it (if i save it its the old version, i have to delete cache in between to save the correct one)
    https://wordpress.org/support/plugin/apcu-manager/

    Do you have any idea on this? Thx again ;:O)

    #44429
    AITpro Admin
    Keymaster

    “APCu Manager offers a persistent object cache backend to WordPress…”  In plain english the plugin is caching your WP database, which means that all Custom Code that is saved to your WP DB is cached. You should never for any reason cache the wp-admin backend or your database.  So you will want to disable that feature in that plugin.  Caching should only be done for front facing visitors and never the WP backend or DB.

    #44432
    Fredel007
    Participant

    ok git that, as a recommendation by my hoster, will look for s.th else to improve persistant object cache.. ;/ thx!!!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.