Browse Source

Removed cache control :-/

svn path=/trunk/; revision=34717
tags/stw2018
jonas 3 years ago
parent
commit
d919d055af
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      .htaccess

+ 3
- 2
.htaccess View File

@@ -135,5 +135,6 @@ RewriteRule ^about/tuke(.*) /about/team [redirect=permanent]

# This recipie makes sure that permanent redirects are not cached
# indefinitely, but re-validated every 10 minutes.
Header append Cache-Control s-maxage=600 "expr=%{REQUEST_STATUS} == 301"
Header append Cache-Control max-age=600 "expr=%{REQUEST_STATUS} == 301"
# NOTE: Enable this when we get an Apache 2.4 :-/
#Header append Cache-Control s-maxage=600 "expr=%{REQUEST_STATUS} == 301"
#Header append Cache-Control max-age=600 "expr=%{REQUEST_STATUS} == 301"

Loading…
Cancel
Save