Commit 2be041d2 authored by Giuseppe Terrasi's avatar Giuseppe Terrasi

merge from lp:~giuseppeterrasi/ubuntu-it-ask/apache-expires

parents 434b99fa 1176ea32
...@@ -29,3 +29,15 @@ WSGISocketPrefix ${APACHE_RUN_DIR} ...@@ -29,3 +29,15 @@ WSGISocketPrefix ${APACHE_RUN_DIR}
CustomLog ${APACHE_LOG_DIR}/osqa.access.log common CustomLog ${APACHE_LOG_DIR}/osqa.access.log common
ErrorLog ${APACHE_LOG_DIR}/osqa.error.log ErrorLog ${APACHE_LOG_DIR}/osqa.error.log
</VirtualHost> </VirtualHost>
# Caching some files
FileETag none
ExpiresActive On
ExpiresByType application/javascript "access plus 3 months"
ExpiresByType image/jpg "access plus 3 months"
ExpiresByType image/jpeg "access plus 3 months"
ExpiresByType image/gif "access plus 3 months"
ExpiresByType image/png "access plus 3 months"
ExpiresByType image/x-icon "access plus 3 months"
ExpiresByType text/css "access plus 3 months"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment