Hi all,

I wanted to discuss emitting the "immutable" cache-control directive in
responses for requests to .pagespeed. urls.

After reading up on this fairly new cache-control directive, think we may
be able to avoid revalidations by doing so.
The RFC mentions versioned urls as a candidate for doing this, which I
think also includes our fingerprinted .pagespeed. urls
(these have a hash that changes when any of the underlying resources change)

Rough implementation:
https://github.com/pagespeed/mod_pagespeed/compare/oschaaf-cc-immutable?expand=1

Context:
https://hacks.mozilla.org/2017/01/using-immutable-caching-to-speed-up-the-web/
https://tools.ietf.org/html/rfc8246

Would love to hear thoughts on this!

Otto

Reply via email to