[Zope-CMF] using caching policy manager to cache anon vs. auth content

Dieter Maurer dieter at handshake.de
Tue Aug 31 15:31:14 EDT 2004


Gerry Kirk wrote at 2004-8-24 15:58 -0400:
>I would like to cache all pages for anon users, but then when someone 
>logs in, the cache would no longer apply.

No good chance...

The CPM sets HTTP cache headers.
Once, an object is in an HTTP cache, the CPM is only consulted
when the object expires unless you specify "must-revalidate".
Unfortunately, many browsers appear not to honor "must-revalidate".

-- 
Dieter


More information about the Zope-CMF mailing list