Commit 1176ea32 authored by Giuseppe Terrasi's avatar Giuseppe Terrasi

add apache expires module configuration

parent d706159a
......@@ -29,3 +29,15 @@ WSGISocketPrefix ${APACHE_RUN_DIR}
CustomLog ${APACHE_LOG_DIR}/osqa.access.log common
ErrorLog ${APACHE_LOG_DIR}/osqa.error.log
</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