ended6월 12일· 1 sources

The Cloudflare Caching Bug Breaking Inertia-Powered Websites

Cloudflare 엣지 캐싱의 함정: Inertia 앱이 망가진다

Why it matters

Developers using Inertia with Cloudflare face a critical caching vulnerability: the edge cache ignores Vary headers, serving cached HTML to AJAX requests expecting JSON, which silently breaks applications in production. This issue exposes a fundamental misunderstanding about cache defense mechanisms—store-time protections like no-store are ineffective when edge caches ignore the Vary header at lookup time. Proper configuration requires either disabling edge caching for Inertia responses or implementing Cloudflare Cache Rules to enforce correct cache behavior.

1
Sources
+0
24h
Growth
101d
Active
CloudflareInertiaVary headerEdge cachingCache bug

Sources

Related Issues