-----Original Message-----
From: Shane Hathaway <[EMAIL PROTECTED]>
To: Bak@kedai <[EMAIL PROTECTED]>
Date: Wednesday, January 24, 2001 9:10 PM
Subject: Re: [Zope] Cache manager in zope 2.3.0b1

>"Bak@kedai" wrote:
>> >From HelpSys for RAM CAche
>> """
>> Finally, you can configure the list of REQUEST variables
>> that will be used in the cache key. This can be a simple
>> and effective way to distinguish requests from
>> authenticated versus anonymous users or those with
>> session cookies.
>> """
>> so, if i access a particular DTML Method as such
>> http://myserver.com/mymethod?objId=xxx
>> can i use objId to distinguish between different objects?
>> i tried by setting objId as the cache key in my RAM Cache object.
>> nothing were cached.  even after accessing mymethod with different objId.
>I'd like to help you out with this--could you give more details?  What
>did you do to test the caching?  Are you sure it wasn't being cached?
sorry.  my mistake.  i think more info on how/what should/can be a cache key
is good.   currently, there's two cache key  fields, one in the object
itself, one in the cache manager instance.  the field in object can contain
more than one cache keys, while the cache key in the cache manager instacne
can contain only one.

now that i can cache object, i can't invalidate it automatically ( the cache
don't expire).

how do i expire the cached object automatically?

sorry for being a pain :)
if i understand it more, i'll try and write up a howto/note

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

Reply via email to