In HTTP / 1, in order to avoid additional network requests that determine whether resources should remain cached, we would set the value to max-ageeither Expiresstatic assets and provide them with a unique URL for each revision. But HTTP / 2 requests are cheap, so we can do without caching and just rely on ETags, last-modified, et al?
The only advantage that I see when continuing to work with the cache (in addition to clients serving HTTP / 1 and HTTP / 2) is that it saves bandwidth checking if the resources are out of date. And even that is likely to be negligible with HPACK. So am I missing something, or can I stop caching now?
source
share