Re:HTTP Immutable Responses
by Dylan16807 on Friday September 15, 2017 @09:47PM
(#15262324)
You can't 'recall' something you already sent out to browsers, and if you need to mutate then it's easy to make a new URL.
This header won't make browsers cache data any differently. It skips a step when the cache is being read from.
But in the current world, you can serve new content on the conditional check that caches currently do.
That said, I am ultimately for this. I think. There is plenty of data showing that this is a low hanging fruit to hit.
Re:HTTP Immutable Responses
by Dylan16807 on Friday September 15, 2017 @09:50PM
(#15262339)
The conditional check that they do sometimes. Now half your users see the new version and half see the old version. Not much of a recall.
Still more of a recall than will be possible in the new world. And you can always detect the old code and prompt users to refresh. (Typically happens on a restart.)
Again, though, I am ultimately for this. I just remain skeptical of any panacea.
You sound as if people who consciously set an immutable header, or set cache expiration time header to 5 years, do not know what they are doing.
Should we optimize the web for clueless server operators?
Also, I will certainly want to clear out my browser's cache on a regular basis. I do not want it keeping immutable things just because they shouldn't ever change.