Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).


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.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: