Skip to content

Commit

Permalink
Better cache control
Browse files Browse the repository at this point in the history
  • Loading branch information
tomer committed Aug 1, 2012
1 parent 862ee3b commit 5cc5ef0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<IfModule mod_headers.c>
Header unset Pragma
FileETag None
Header unset ETag

# 1 HOUR
<filesMatch "\.(html|htm)$">
Header set Cache-Control "max-age=3600, must-revalidate"
</filesMatch>
</IfModule>

0 comments on commit 5cc5ef0

Please sign in to comment.