APO cache not working - cf-cache-status BYPASS after 24h - avonkatalog.in.ua

What is the name of the domain?

avonkatalog.in.ua

What is the issue you’re encountering

APO is enabled, but cf-cache-status stays BYPASS after 24h. cf-edge-cache header is missing. Need help fixing APO caching.

What steps have you taken to resolve the issue?

  • Cleared server cache
  • Cleared Cloudflare cache
  • Disabled plugins like Autoptimize, Redis
  • Updated .htaccess to set correct cache headers
  • Reinstalled and reconnected Cloudflare plugin
  • Waited more than 24 hours

What are the steps to reproduce the issue?

Hello,

I activated APO again for my WordPress site (avonkatalog.in.ua).
Earlier it worked fine, but after I re-enabled it, cf-cache-status stays BYPASS even after 24h.

  • APO is ON
  • cf-apo-via header is present
  • cf-edge-cache header is missing
  • Cache-Control header is public, max-age=86400
  • .htaccess is correct
  • No server caching plugins active
  • Full cache purge done
  • Payment for APO was made ($2.17), so it is active.

Here is the screenshot from WordPress admin showing the warning:
"Note: Changing Cache By Device Type setting will invalidate Cache. The setting is applied to all hostnames

Note: APO runs against the following list of hostnames:

avonkatalog.in.ua, www.avonkatalog.in.ua

cf-edge-cache response header is missing! Please clear any server cache used via other plugins.

Check again."

Could you please help fix APO caching?

Thank you!

Screenshot of the error

I get a HIT when I use curl.

Based on your screenshot, it looks like it’s a BYPASS due a set-cookie, but you cut off your screenshot before that header would have shown up.

https://developers.cloudflare.com/automatic-platform-optimization/reference/query-parameters/#cookies-prefixes-that-always-bypass-cache

If you’re logged in, or started shopping, then it should be a BYPASS.

2 Likes

This topic was automatically closed after 15 days. New replies are no longer allowed.