Cache not working (Bypass returned)

I just figured it out and it’s probably a niche case. I came across this thread where it was pointed out “If the Cache-Control header is set to “private”, “no-store”, “no-cache”, or “max-age=0”, or if there is a cookie in the response, then Cloudflare will not cache the resource.”

Looking at the response above, there are 2 cookies being set, these are from AWS “sticky sessions” which is an optional feature I had on the server side. I disabled this and it fixed the issue:

image

Thanks for the suggestions nontheless.

1 Like