• Stoian Alex

    (@stoianalex)


    Hello, how can I make it look like this when it caches the post?

    x-wp-cf-super-cache
    no-cache
    x-wp-cf-super-cache-cache-control
    no-store, no-cache, must-revalidate, max-age=0
    cache-control
    no-cache, no-store, must-revalidate, max-age=0
    last-modified
    Tue, 01 Nov 2022 12:12:44 GMT
    cf-cache-status
    HIT
    age
    8784

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

    (@isaumya)

    Hi,
    Your response header looks wired. When any page is cached in Cloudflare the x-wp-cf-super-cache and x-wp-cf-super-cache-cache-control should not have those values.

    Do you have any other page rule or worker setup to modify the cache behavior? Also, can you share your site URL?

    Thread Starter Stoian Alex

    (@stoianalex)

    Hy Saumya on the post when it caches it appears like this

    cache-control
    s-maxage=31536000, max-age=60
    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
    last-modified
    Tue, 01 Nov 2022 07:25:35 GMT
    cf-cache-status
    HIT

    on another site that I know, the post shows as I put it above and I see that it does well in google with it

    x-wp-cf-super-cache
    no-cache
    x-wp-cf-super-cache-cache-control
    no-store, no-cache, must-revalidate, max-age=0
    cache-control
    no-cache, no-store, must-revalidate, max-age=0
    last-modified
    Tue, 01 Nov 2022 12:12:44 GMT
    cf-cache-status
    HIT
    age
    8784
    Plugin Contributor iSaumya

    (@isaumya)

    The second one you’ve mentioned is wrong and definitely has some issues on that site. The first one you mentioned is correct.

    Thread Starter Stoian Alex

    (@stoianalex)

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    yes as I said, everything looks good and CDn caching is working properly:

    View post on imgur.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page Cache’ is closed to new replies.