[Zope-CMF] Re: Re: CachingPolicyManager improvements

Paul Winkler pw_lists at slinkp.com
Mon Sep 5 22:50:36 EDT 2005

> Chris McDonough suggested an interesting way to do a poor-man's ESI: use
> Apache's server side includes.

That's an interesting idea. On the Zope side, you'd just have to set
up your templates to spit out html containing SSI directives, obviously
no problem.
But what's involved in the Apache configuration?
Is it easy to set up SSI processing of content delivered via
mod_proxy or mod_rewrite?

> Along the same lines, if you set up all
> have portlets to be methods that return a chunk of xhtml instead of ZPT
> macros, then you could fetch your portlets through Squid rather than by
> calling the methods directly.  You'd have some overhead in assembling
> the page, but you'd get many of the benefits of ESI without having to
> wait for a Squid 3 release.

Not sure I follow this. What does the final assembly?  Your main ZPT
template?  If so, why not just cache the xhtml-fragment portlets in a
RAMCacheManager instead? Probably faster than waiting on network traffic
to/from squid, and definitely easier to set up.

Another thing I've thought of: Put your portlets in iframes.
But I've done only minimal work with iframes and don't really know what
the implications are.


More information about the Zope-CMF mailing list