4 ms·
The simple solution is to always version everything. There's no such thing as an update, merely a new version of a thing.
by lucian1900 13y ago
The simple solution is to always version everything. There's no such thing as an update, merely a new version of a thing.
- happyhappy 13y agoThat much is obvious.
- FooBarWidget 13y agoSo without any mutable storage, how do you verify that the version that the client requested is the latest version?
- justincormack 13y agoIf 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.
- FooBarWidget 13y agoBut 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.
- samnardoni 13y agoThen don't use groupcache.