ETag and HTTP caching
One neat use case for the HTTP ETag header is client-side HTTP caching for GET requests.
Along with the ETag header, the caching workflow requires you to fiddle with other
conditional HTTP headers like If-Match or If-None-Match. However, their interaction can
feel a bit confusing at times.Every time I need to tackle this, I end up spending some time browsing through the relevant
MDN docs123 to jog my memory. At this point, I’ve done it enough times to justify
spending the time to write this.Cach...
Read more at rednafi.com