top | item 29948743

(no title)

ani-ani | 4 years ago

Assuming this is for websites, what's the recommended way of handling cache busting with this kind of setup? The article has a slightly awkward paragraph that tells you to set long TTLs for everything and concludes with "tweak these settings", which kind of sounds like "draw the rest of the owl". Might be a good reason to use something that integrates all this (eg. Cloudflare Pages, since you're already using Cloudflare).

discuss

order

ricardobeat|4 years ago

The usual approach is to add a value to the query string, like a last-modified timestamp or deployment version. Doesn’t require any setup on the CDN side.

sharps_xp|4 years ago

cloudflare let’s you purge the cache via API, but frequent busting is probably not okay