Client assets at every PoP
SvelteKit assigns unique names to immutable build assets so releases can coexist in cache.
Cache prerendered SvelteKit pages and immutable application files. Let server routes that depend on sessions or form actions reach the application.
Cache _app assets with long TTLs. Cache prerendered and anonymous SSR pages at Cloud CDN. Bypass form actions and session-specific routes.
SvelteKit assigns unique names to immutable build assets so releases can coexist in cache.
Static SvelteKit routes are an ideal CDN cache.
Form actions and authenticated load functions bypass cache.
Pull Node, static or other adapter output over HTTPS.
Long TTL for hashed files. Purgeable TTL for HTML.
Do not cache POST actions or cookie-varying pages.
Invalidate HTML after each production adapter deploy.
Yes. Static output is a natural Cloud CDN origin.
Only public GET endpoints. Mutations and authenticated JSON must bypass cache.
Pick one canonical URL shape and cache that. Avoid duplicating the same page under two keys.
Yes when many edges miss the same SSR route at once after a deploy or TTL expiry.