CDN optimization for global audiences
CDN optimization for global audiences A global audience means your site must reach users quickly, no matter where they are. A well-tuned CDN serves assets from edge locations near visitors, reducing latency and easing traffic spikes. Cache strategy Cache is the heartbeat of a fast site. Use long max-age for versioned static files and a clear rule for HTML. Fingerprinted filenames help avoid cache busting with query strings. Set Cache-Control: public, max-age=31536000, immutable for static assets; use s-maxage for shared caches. When assets update, bump the versioned name and purge the edge as needed. If supported, consider stale-while-revalidate to serve fresh content while updates load. ...