[Zope-CMF] Caching Policy Manager

Dieter Maurer dieter at handshake.de
Mon Apr 26 14:03:20 EDT 2004


Jean-Francois.Doyon at CCRS.NRCan.gc.ca wrote at 2004-4-26 10:02 -0400:
>I'm not having much success implementing this feature I'm afraid.
>
>Although I can always use the Accelerated HTTP Cache Manager for many
>objects, this doesn't work with anything filesystem based, notably skins.

When you have CMF 1.4.x and you are ready not to use the
Caching Policy Manager,
then there is an easy way. Define "cache: id_of_the_cache_manager"
as property of your FSObject in "*.metadata".

> ...
>But not matter what, I don't see any headers getting set as I'd expect.  I
>put the instance of the policy manager both in the root of Zope, or the root
>of the CMF site(s), didn't work either way.
>
>I'm pretty sure the tool does get "called" since if I make a mistake errors
>do get raised out of it.
>
>Any idea what I might be doing wrong ??

The CPM behaves not always as one would expect.
Search the mailing list archive for a post by Tres that
explains how the CPM works...

-- 
Dieter



More information about the Zope-CMF mailing list