4 ms·
I mean sure, technically you can send any status code from your origin application. ETag is generally the standard way to go about it with regards to web server
by gnz11 3y ago
I mean sure, technically you can send any status code from your origin application. ETag is generally the standard way to go about it with regards to web servers. Last-Modified is more of a fallback mechanism.
- idbehold 3y agoActing like Last-Modified is somehow substandard is a bit disingenuous. The If-None-Match (etag) request header takes priority over the If-Modified-Since (last-modified) request header (if both are sent), but they provide identical functionality (caching and preventing modification if out of date) and are both part of the HTTP standard.