[Zope-CMF] CMF caching policy manager

Geoff Davis geoff@geoffdavis.net
Tue, 20 Aug 2002 15:00:04 -0400


Tres,

A FS/ZODB solution would be awesome!  Your idea for the combined tool sounds
pretty reasonable.  Should you go down that route, I'd like to put in a vote
for the ability to set arbitrary headers.

Geoff


Geoff Davis
http://www.geoffdavis.net


----- Original Message -----
From: "Tres Seaver" <tseaver@zope.com>
To: "alan runyan" <runyaga@runyaga.com>
Cc: "Geoff Davis" <geoff@geoffdavis.net>; "Zope CMF" <zope-cmf@zope.org>;
"Plone Developers" <plone-developers@lists.sourceforge.net>
Sent: Tuesday, August 20, 2002 12:52 PM
Subject: Re: [Zope-CMF] CMF caching policy manager


> On Thu, 2002-08-15 at 17:01, alan runyan wrote:
> > what about potential wiring this in for *all* FSObjects?
> > so that if you have a caching_policy_manager than it overrides the
> > HEADER manipulations that come stock. i.e. CMFCore.FSImage.index_html
> >
> > what about DTML methods or .CSS/.JS ? these should probably reach into
the
> > caching policy manager as well?
>
> Wiring in all the FS-based methods was part of the plan, but got
> back-burnered because the project where we used this had all the images
> and stylesheets stored in the ZODB.
>
> I think this is a SMOP;  what will be harder is finiding a way to use
> the CPM even for customized skins.  My notion of a solution to the
> harder problem is as follows:
>
>   - Make the CPM implement the ZCacheManager interface.
>
>   - Modify the customization code to create the association with
>     the CPM in the customized object, using ZCacheable_setManagerId.
>
> Tres.
> --
> ===============================================================
> Tres Seaver                                tseaver@zope.com
> Zope Corporation      "Zope Dealers"       http://www.zope.com
>
>