Cache-Control Immutable HTTP Header
Eilon opened this issue · 3 comments
From @RehanSaeed on January 27, 2017 9:3
There is a new immutable
extension to the Cache-Control
HTTP header which has been adopted into the IETF on the Standards Track. It's currently implemented in Firefox 49. The documentation states:
Indicates that the response body will not change over time. The resource, if unexpired, is unchanged on the server and therefore the client should not send a conditional revalidation for it (e.g. If-None-Match or If-Modified-Since) to check for updates. Clients that aren't aware of this extension must ignore them as per the HTTP specification. In Firefox, immutable is only honored on https:// transactions.
Read More here:
- IETF Draft Spec
- Using Immutable Caching To Speed Up The Web
- Cache-Control
- Cache-Control: immutable
- This browser tweak saved 60% of requests to Facebook
Facebook and the BBC have implemented this extension with significant performance wins. Since this is a draft spec, ASP.NET Core should probably not implement it just yet but raising this issue to put it on the radar. If another browser should implement this feature, perhaps it should be considered even as a draft.
Copied from original issue: aspnet/Mvc#5723
Since the extension to the HTTP header is currently a draft, putting this in backlog.
This issue was moved to dotnet/aspnetcore#2712