Versioned JavaScript bundles
Visitors can reuse cached JavaScript, stylesheets and fonts when a release keeps the same URLs.
Deliver the React build from a static or application origin. Keep the entry document fresh as releases introduce new versioned JavaScript and stylesheet URLs.
Cache hashed bundles at Cloud CDN with long TTLs. Serve index.html with purge on deploy. Keep BFF and API routes dynamic.
Visitors can reuse cached JavaScript, stylesheets and fonts when a release keeps the same URLs.
Purge the shell on release so clients pick up the new hashed filenames.
Public images and downloads use the same distribution.
Any HTTPS origin that serves the production build is enough.
Fingerprinted files can live at the edge until the filename changes.
Invalidate index.html and any unhashed paths in CI.
Enable TLS and point DNS at the distribution.
Yes. Cloud CDN cares about the files, not the bundler.
Cache anonymous HTML. Bypass session-specific render output. See also CDN for Next.js and Remix.
Configure origin fallback to index.html for app routes, then cache that HTML carefully.
Static GETs can. Authenticated APIs should bypass cache or use a separate hostname.