Cache bypass page rule does not work

I have a rule to bypass cache because it is a password protected page but cloudflare continues to cache page.

My url is https://vplan.in/reports/* and I have set cache level to Bypass.

Do you have any Page Rules above this one? Such as one matching https://vplan.in/*

No. This is the 1st rule.

Cloudflare doesn’t cache pages by default.

Is there a specific URL you can show us that’s being cached?

1 Like

curl -I https://vplan.in/reports/Report.Monthly.Alerts
HTTP/2 200
date: Sat, 13 Feb 2021 17:23:06 GMT
content-type: application/json
content-length: 883
set-cookie: __cfduid=d948c0de8cd624f0f7a8cd913b98e43c41613236985; expires=Mon, 15-Mar-21 17:23:05 GMT; path=/; domain=.vplan.in; HttpOnly; SameSite=Lax
cache-control: must-revalidate
etag: “1-3e1c724d75a612f9fdf68fdcde4afe4a”
x-couch-request-id: af2e4f770a
x-couchdb-body-time: 0
last-modified: Saturday, 13-Feb-2021 17:23:05 GMT
cache-control: no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0
cf-cache-status: DYNAMIC
cf-request-id: 083e03f7870000de52f5272000000001
expect-ct: max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct
report-to: {“endpoints”:[{“url”:“https://a.nel.cloudflare.com/report?s=36E1atJFC5gbgcK5WGE3CpmNI51gSF6tJUhC%2FYPzmGkQ2o8CMxAlpncscHgJeKehiAYrn7NWFh9xt63RM62kFlmzS24%2FrMU8tQ%3D%3D"}],“max_age”:604800,“group”:"cf-nel”}
nel: {“report_to”:“cf-nel”,“max_age”:604800}
server: cloudflare
cf-ray: 62103c38daafde52-BOM

Cloudflare is not caching that URL.

1 Like

Thank you. I was thrown off by the 200 status code when I was expecting 401.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.