[Zope-dev] AW: [Summary] Caching prob with AHCM and headers

Germer, Carsten carsten.germer at desy.de
Fri Sep 12 14:10:52 EDT 2003


Thanks Bjorn, now I remember the last-modified issue.
As I remember it, someone said that the line is commented out for a reason
not known... that's why I didn't change it :)
/Carsten


> -----Ursprüngliche Nachricht-----
> Von: Bjorn Stabell [mailto:bjorn at exoweb.net]
> Gesendet: Freitag, 12. September 2003 12:14
> An: zope-dev at zope.org
> Cc: Janko Hauser; pixel at bitmechanic.com; Jens at zope.com; 
> Germer, Carsten
> Betreff: [Summary] Caching prob with AHCM and headers
> 
> 
> Just for the record to help others in the same situation...
> 
> PROBLEM
> Apache (1.3.28 and 2.0.47) will not cache content with just an Expires
> header, but it will correctly cache content with a 
> Last-Modified header.
> This problem has been reported before in 1999 by James Cooper, but the
> bug request seems to have been forgotten/ left behind.
> 
> It makes sense for dynamic content to produce Expires headers, not
> Last-Modified headers, so this is a problem.
> 
> Looking at the code for Zope, it seems that the standard HTTP
> accelerator product used to produce a Last-Modified header, but no
> longer does so, thus making it useless with the current versions of
> Apache.
> 
> The problem has been re-reported to the Apache group with patches:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23129 (for Apache
> 1.3.28)
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23130 (for Apache
> 2.0.47)
> 
> 
> WORK-AROUNDS
> 1) Produce a Last-Modified header yourself by using
> 2) Patch Zope's standard HTTP accelerator product so that it 
> produces a
> Last-Modified header (the line is commented out now)
> 
> SOLUTIONS
> 3) Patch Apache (see bug report links above for patches)
> 4) Wait until the problem is hopefully fixed in Apache
> 
> 
> Bye,
> -- 
> Bjorn Stabell bjorn at exoweb.net
> Tel +86 (10) 65918490
> 



More information about the Zope-Dev mailing list