Skip to content

Commit

Permalink
added mod_default fix for html and static txt files to more .htaccess…
Browse files Browse the repository at this point in the history
… files
  • Loading branch information
phoenix-bjoern committed Jan 21, 2015
1 parent 00b8940 commit 6efe85c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .htaccess.sample
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@
## http://developer.yahoo.com/performance/rules.html#expires

ExpiresDefault "access plus 1 year"
ExpiresByType text/html A0
ExpiresByType text/plain A0

</IfModule>

Expand Down
4 changes: 3 additions & 1 deletion dev/tests/functional/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@
## http://developer.yahoo.com/performance/rules.html#expires

ExpiresDefault "access plus 1 year"
ExpiresByType text/html A0
ExpiresByType text/plain A0

</IfModule>

Expand All @@ -191,4 +193,4 @@
## If running in cluster environment, uncomment this
## http://developer.yahoo.com/performance/rules.html#etags

#FileETag none
#FileETag none

0 comments on commit 6efe85c

Please sign in to comment.