w3-total-cache-fixed icon indicating copy to clipboard operation
w3-total-cache-fixed copied to clipboard

Immutable caching header support

Open hsntgm opened this issue 8 years ago • 2 comments

Hello,

Also this is a new cache control policy prevent 304 not modified (revalidation) requests which facebook use it now. Not supported all browser expect firefox 49+..

Can be simple implement to W3 Cache Control policy:

Header set Cache-Control "max-age=365000000, immutable"

Sincerely,

hsntgm avatar Feb 22 '17 16:02 hsntgm

Thanks.

This is an experimental one: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control#Revalidation_and_reloading

szepeviktor avatar Feb 22 '17 18:02 szepeviktor

from http://stackoverflow.com/a/41958007/3043248

As of February 2017, Cache-Control: immutable is supported by

  • Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=1267474) since Firefox 49
  • Chrome (https://bugs.chromium.org/p/chromium/issues/detail?id=611416) since Chrome 54
  • Safari (https://bugs.webkit.org/show_bug.cgi?id=167497) in nightlies

nigrosimone avatar Feb 22 '17 21:02 nigrosimone