Re: [Zope-dev] Caching Policy Manager (Was: Caching prob with AHCM and headers)

2003-09-25 Thread seb bacon
Andy McKay wrote:
This thread and an application for a client has meant i've started to 
formulate a replacement for Caching Policy Manager. From the way I see 
it all the functionality in CPM (Vary etc) should be rolled into AHCM.
+1

What about the don't cache the following hostnames knob for the use 
case I outlined previously, which enables you to circumvent caching 
(useful for site editors, for example)?

I think adding an extra virtual host is a very natural way to ensure 
fresh content as it is guaranteed to have a unique key in upstream caches.

seb

--

   [] j a m k i t
 web solutions for charities
seb bacon
T:  020 7549 0520
F:  020 7490 1152
M:  07968 301 336
W: www.jamkit.com


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Caching Policy Manager (Was: Caching prob with AHCM and headers)

2003-09-25 Thread Tres Seaver
On Thu, 2003-09-25 at 14:06, Andy McKay wrote:

 This thread and an application for a client has meant i've started to 
 formulate a replacement for Caching Policy Manager. From the way I see 
 it all the functionality in CPM (Vary etc) should be rolled into AHCM.

 CPM should then just be very simple set of policies that using a 
 predicate point to a cache. Which could be an AHCM, or a Ram Cache or 
 another cache. Admittedly Ram Cache is not something you'd normally want 
 to do for CMF content, but there other caching options.

RAM caching is useful for subtemplates.  I am not convinced that we
should think of resource level caching (AHCM or Andy's bake-to-disk
on the fly solution) in the same framework as the tools like RCM, which
are much better suited for caching intermediate results, but don't scale
well for entire pages.

Tres.
-- 
===
Tres Seaver[EMAIL PROTECTED]
Zope Corporation  Zope Dealers   http://www.zope.com


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Caching Policy Manager (Was: Caching prob with AHCM and headers)

2003-09-25 Thread Andy McKay
RAM caching is useful for subtemplates.  I am not convinced that we
should think of resource level caching (AHCM or Andy's bake-to-disk
on the fly solution) in the same framework as the tools like RCM, which
are much better suited for caching intermediate results, but don't scale
well for entire pages.
RCM is an odd caching system that suits a particular need. Is that a no, 
this shouldn't be done or just a comment?
--
  Andy McKay
  http://www.agmweb.ca

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )