[Zope-CMF] Caching Policy Manager
Dmitry S. Makovey
dmitry at athabascau.ca
Mon Apr 26 11:03:56 EDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On April 26, 2004 08:02 am, Jean-Francois.Doyon at CCRS.NRCan.gc.ca wrote:
> Hello,
>
> 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.
>
> I've tried various predicates:
>
> python: content.meta_type == 'Filesystem Image'
> python: content.getId() == 'something'
>
> etc ...
>
> 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 ??
Looks like you are using Plone with default templates which already set
headers to be "pragma: no-cache" tweak those (global_cache for 2.x series).
Otherwise look through your skins and check who's setting "pragma" and
related headers.
- --
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFAjSTdyDrVuGfS98QRAi+0AJ9wDzLHbDvY4edEuAKw8UjEmS7oCACghIIq
HfvVmWK9zFy57QXcCZfSjxg=
=MEAp
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list