</Location>
<Location /eg/opac>
PerlSetVar OILSWebContextLoader "OpenILS::WWW::EGCatLoader"
-# Disable caching for development..
- <IfModule mod_headers.c>
-# Header set Expires "Thu, 19 Nov 1981 08:52:00 GM"
-# Header set Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
-# Header set Pragma "no-cache"
- </IfModule>
+ # Expire the HTML immediately since we're loading dynamic data for each page
+ ExpiresActive On
+ ExpiresByType text/html "access plus 0 seconds"
</Location>
+<LocationMatch ^/(images|css|js)/>
+ # should pick up the default expire time...
+ Header append Cache-Control "public"
+</LocationMatch>
# Note: the template processor will decline handling anything it does not
# have an explicit configuration for, which means it will fall back to