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

Yes, they should disable caching on index.html only and have the other files update their names on changes


They should allow everything to be cached and use the Cloudflare API to invalidate the cache when they actually change something. That means that even huge spikes will have no impact on their backend and they’ll still be able to see changes within a second or two of publishing them.

This complaint is simply an attempt to shift the blame for their decision to ignore multiple decades of prior art. Even in the 90s we used techniques like caching to avoid this problem, and their page-load times now somehow manage to be worse.


> Cloudflare API to invalidate the cache

This is even better (I do not know Cloudflare that much, but there is indeed the same on AWS' CloudFront)




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

Search: