Content delivery for public websites
Public pages, JavaScript bundles, stylesheets, images, downloadable brochures, and destination content are natural candidates for CDN delivery. Cloudflare's default cache behavior uses file extensions and HTTP caching information to determine cache eligibility. Common static assets are cacheable by default, while HTML and JSON are not cached by default. A public destination article can be evaluated for HTML caching after confirming that its response never contains visitor-specific information. Its images and versioned scripts can follow a different, longer-lived policy. This separation matters during website updates. A new homepage may depend on recently deployed JavaScript, while a previously cached browser bundle still references an older API response format.
Correct cache design considers these dependencies instead of assigning one expiration period to the entire website.


