Boot from a nearby PoP
The browser can fetch versioned JavaScript, CSS and fonts without another request to the application origin on a cache hit.
Give the HTML entry point a short cache lifetime and keep hashed bundles available across releases. Verify client-side navigation and direct links to nested routes.
Cache hashed bundles with long TTLs. Serve index.html from Cloud CDN with purge on deploy. Keep APIs and auth on the origin.
The browser can fetch versioned JavaScript, CSS and fonts without another request to the application origin on a cache hit.
index.html picks up new hashed filenames as soon as CI purges it.
Auth and JSON stay dynamic. The CDN is for the shell and public assets.
Any HTTPS origin that serves the bundled files.
Fingerprinted files rarely need purge.
Add purge to the SPA deploy pipeline.
Configure origin or hosting rules so client routes serve index.html.
Yes. See the dedicated framework pages for bundler-specific notes.
Prefer build-time config in hashed files. Runtime config JSON can be cached with a short TTL.
Yes. Cache prerendered HTML like any static page and purge on deploy.
Cache the worker file carefully. Purge or version it when the worker must update immediately.