Apache mod_expires has supported a human-readable syntax for defining cache
expiry directives for a long time. In this commit we simply convert the
existing defaults from the "Anumber_of_seconds" syntax to the equivalent
English syntax documented at
http://httpd.apache.org/docs/2.0/mod/mod_expires.html
Whether CSS _should_ have a cache lifetime of 50 minutes by
default is left to the subject of future commits :)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@19825
dcc99617-32d9-48b4-a31d-
7c20da2025e4
# OPTIONAL: Set how long the client will cache our content. Change to suit
# ----------------------------------------------------------------------------------
ExpiresActive On
-ExpiresDefault A2592000
-ExpiresByType text/html A64800
-ExpiresByType application/xhtml+xml A64800
-ExpiresByType application/x-javascript A64800
-ExpiresByType text/css A3000
+ExpiresDefault "access plus 1 month"
+ExpiresByType text/html "access plus 18 hours"
+ExpiresByType application/xhtml+xml "access plus 18 hours"
+ExpiresByType application/x-javascript "access plus 18 hours"
+ExpiresByType text/css "access plus 50 minutes"
# ----------------------------------------------------------------------------------
# Set up our SSL virtual host