added sample cache-killer for tt opac for development purposes
authorBill Erickson <berick@esilibrary.com>
Tue, 18 Jan 2011 15:37:07 +0000 (10:37 -0500)
committerBill Erickson <berick@esilibrary.com>
Tue, 18 Jan 2011 15:37:07 +0000 (10:37 -0500)
Open-ILS/examples/apache/eg_vhost.conf

index 1c4ec45..bdb7721 100644 (file)
@@ -560,6 +560,10 @@ RewriteRule ^/openurl$ ${openurl:%1} [NE,PT]
 </Location>
 <Location /eg/opac>
     PerlSetVar OILSWebContextLoader "OpenILS::WWW::EGCatLoader"
+#    Disable caching for development..
+#    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"
 </Location>
 
 # Note: the template processor will decline handling anything it does not