Difference between revisions of "Apache: Cache"

From mmmv_kos
Jump to: navigation, search
m
m
 
Line 1: Line 1:
  
* [[Apache]]
+
[[Apache]]
  
  

Latest revision as of 14:47, 20 May 2020

Apache


Headers

Origin.

The solution here does not work!

From console:

a2enmod headers
apache2ctl restart

Place .htaccess to web root:

Header set Expires "Thu, 19 Nov 1981 08:52:00 GM"
Header set Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
Header set Pragma "no-cache"
EnableSendfile Off