Hacker News new | past | comments | ask | show | jobs | submit login

The simple solution is to always version everything. There's no such thing as an update, merely a new version of a thing.



So without any mutable storage, how do you verify that the version that the client requested is the latest version?


If the client has an old link serve an old version. But have links to what will be future versions and make the client walk them. It is doable but different. Lots of stuff is static anyway, like CSS, so you can use for this and have a different process for stuff that varies.


But as the grandparent said, serving the old version may result in a security vulnerability. There are cases where you MUST serve the latest version, and the latest version only.


Then don't use groupcache.


That much is obvious.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: