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

2003-09-12 Thread Fred Yankowski
On Fri, Sep 12, 2003 at 10:13:44AM -0400, Tres Seaver wrote: > The CMF's CachingPolicyManger, which is specialized for caching skin > methods, already has such customizations: it allows spelling the > 'Last-Modified' header using a TALES expression, and also has checkboxes > for the 'no-cache', 'n

[Zope-dev] Zope.org maintenance update afternoon EST

2003-09-12 Thread Brian Lloyd
Hi all - I will be doing some maintenance on the zope.org database, packing it and performing a reindex to get rid of some duplicate search results that we've been seeing. There should be little to no interruption of service, but the pack / reindex / replace will take an hour or so. Please

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

2003-09-12 Thread Tres Seaver
On Fri, 2003-09-12 at 09:51, Shane Hathaway wrote: > Germer, Carsten wrote: > > 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 :) > > It has always been commented ou

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

2003-09-12 Thread Shane Hathaway
Germer, Carsten wrote: 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 :) It has always been commented out in CVS. That may have been a mistake--it may have been a temporary

Re: [Zope-dev] Cache growing during single REQUEST

2003-09-12 Thread Tres Seaver
On Fri, 2003-09-12 at 07:34, Chris Withers wrote: > Tim Peters wrote: > > "Multiversion concurrency control" (MVCC for short) is the next step. If no > > other crises intervene, Jeremy and I will start implementing that on the > > ZODB3 3.2 branch (most likely that branch -- can't swear to it) soo

Re: [Zope-dev] Cache growing during single REQUEST

2003-09-12 Thread Chris Withers
Tim Peters wrote: "Multiversion concurrency control" (MVCC for short) is the next step. If no other crises intervene, Jeremy and I will start implementing that on the ZODB3 3.2 branch (most likely that branch -- can't swear to it) soon (ditto). From Jeremy's recent notes, I think it'll be the Zope

Re: [Zope-dev] Catalog performance

2003-09-12 Thread Chris Withers
John Barratt wrote: Chris Withers wrote: John Barratt wrote: docs = container.portal_catalog(meta_type='Document', ...) for doc in docs: obj = doc.aq_parent.unrestrictedTraverse(doc.getPath()) was_ghost = obj._p_changed is None value = obj.attr if was_ghost:obj._p_deactivate() Bea

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

2003-09-12 Thread Germer, Carsten
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:[EMAIL PROTECTED] > Gesendet: Freitag, 12. Septe

[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 see

Re: [Zope-dev] PythonLibraries Product

2003-09-12 Thread seb bacon
Tres Seaver wrote: Evan Simpson wrote: Seb Bacon wrote: Could you provide a brief summary of why this is better than a folder of python scripts? Perhaps a use case which illustrates the problems of the current way of doing things? It isn't *better* than a Folder of Scripts, it's *different* :-) I