Explorar o código

[/latest] Correct content type and prevent caching

Philipp Hagemeister %!s(int64=11) %!d(string=hai) anos
pai
achega
5e4ecfe225
Modificáronse 1 ficheiros con 10 adicións e 1 borrados
  1. 10 1
      latest/.htaccess

+ 10 - 1
latest/.htaccess

@@ -1,3 +1,12 @@
+RewriteEngine on
+RewriteRule version - [T=text/plain]
 
-Options +Indexes
+FileETag None
+<ifModule mod_headers.c>
+     Header unset ETag
+     Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
+     Header set Pragma "no-cache"
+     Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
+</ifModule>
 
+Options +Indexes