79570320

Date: 2025-04-12 10:36:32
Score: 0.5
Natty:
Report link

This works with modern Apache. All the and things did not work for me.

ExpiresActive Off
Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
Header set Pragma "no-cache" 

<If "%{REQUEST_URI} =~ m#^/assets/.*$#">
  ExpiresActive On
  ExpiresDefault "access plus 1 year"
  Header set Cache-Control "max-age=31536000, public"
  Header unset Pragma 
</If>
Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
Posted by: Holtwick