[Zope-Checkins] CVS: Zope/lib/python/Products/StandardCacheManagers
- AcceleratedHTTPCacheManager.py:1.11.68.2
Andreas Jung
andreas at andreas-jung.com
Sat May 22 05:18:12 EDT 2004
Update of /cvs-repository/Zope/lib/python/Products/StandardCacheManagers
In directory cvs.zope.org:/tmp/cvs-serv24634/lib/python/Products/StandardCacheManagers
Modified Files:
Tag: Zope-2_7-branch
AcceleratedHTTPCacheManager.py
Log Message:
- Collector #1345: AcceleratedHTTPCacheManager now sends the
Last-Modified header.
=== Zope/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py 1.11.68.1 => 1.11.68.2 ===
--- Zope/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py:1.11.68.1 Thu Jan 8 18:33:54 2004
+++ Zope/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py Sat May 22 05:18:11 2004
@@ -99,7 +99,7 @@
# Set HTTP Expires and Cache-Control headers
seconds=self.interval
expires=rfc1123_date(time.time() + seconds)
- # RESPONSE.setHeader('Last-Modified',rfc1123_date(time.time()))
+ RESPONSE.setHeader('Last-Modified',rfc1123_date(time.time()))
RESPONSE.setHeader('Cache-Control', 'max-age=%d' % seconds)
RESPONSE.setHeader('Expires', expires)
More information about the Zope-Checkins
mailing list