Options ExecCGI
</Directory>
-
# ----------------------------------------------------------------------------------
-# OPTIONAL: Set how long the client will cache our content. Change to suit
+# OPTIONAL: Set how long the client will cache our content.
+# We set a long expires time for CSS, JavaScript, and images (default) because
+# you can change the cache-key in opac/parts/config.tt2 to force browsers to
+# reload them immediately.
# ----------------------------------------------------------------------------------
ExpiresActive On
-ExpiresDefault "access plus 1 month"
+ExpiresDefault "access plus 1 year"
ExpiresByType text/html "access plus 18 hours"
ExpiresByType application/xhtml+xml "access plus 18 hours"
-ExpiresByType application/x-javascript "access plus 18 hours"
-ExpiresByType application/javascript "access plus 18 hours"
-ExpiresByType text/css "access plus 50 minutes"
+ExpiresByType application/x-javascript "access plus 1 year"
+ExpiresByType application/javascript "access plus 1 year"
+ExpiresByType text/css "access plus 1 year"
# ----------------------------------------------------------------------------------
# Set up our SSL virtual host
Require all granted
</Directory>
-
# ----------------------------------------------------------------------------------
-# OPTIONAL: Set how long the client will cache our content. Change to suit
+# OPTIONAL: Set how long the client will cache our content.
+# We set a long expires time for CSS, JavaScript, and images (default) because
+# you can change the cache-key in opac/parts/config.tt2 to force browsers to
+# reload them immediately.
# ----------------------------------------------------------------------------------
ExpiresActive On
-ExpiresDefault "access plus 1 month"
+ExpiresDefault "access plus 1 year"
ExpiresByType text/html "access plus 18 hours"
ExpiresByType application/xhtml+xml "access plus 18 hours"
-ExpiresByType application/x-javascript "access plus 18 hours"
-ExpiresByType application/javascript "access plus 18 hours"
-ExpiresByType text/css "access plus 50 minutes"
+ExpiresByType application/x-javascript "access plus 1 year"
+ExpiresByType application/javascript "access plus 1 year"
+ExpiresByType text/css "access plus 1 year"
# ----------------------------------------------------------------------------------
# Set up our SSL virtual host