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>
Wed, 20 Jul 2011 18:21:46 +0000 (14:21 -0400)
Open-ILS/examples/apache/eg_vhost.conf

index fc5db21..e250723 100644 (file)
@@ -567,6 +567,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