Cloudflare cache MISS when reverse proxied from Vercel

Hello :wave:

I have a site at testdocs.assistflare.com which is proxied behind CF with cache everything enabled. When I access testdocs.assistflare.com directly - Cf-Cache-Status is HiT.

If I try to access the same site behinf the reverse-proxied URL outlater.com/blog - Knowledge Base - Cf-Cache-Status is always a MISS.

Any idea why that would happen?

Helped in Discord, issue was Vercel Next.js Rewrites sending an almost always unique forwarded header, part of the default cache key, sharding the cache like crazy. Fixed with transform rule to remove it from the request headers.

1 Like

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