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

2003-09-13 Thread Dieter Maurer
Bjorn Stabell wrote at 2003-9-12 18:14 +0800:
  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, ...

This is required by the HTTP 1.1 specification...


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


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

2003-09-12 Thread Bjorn Stabell
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 [EMAIL PROTECTED]
Tel +86 (10) 65918490

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )