I understand how the RAM Cache Manager works, I think, but what I need is something slightly different, in a couple of ways: * I'd like a cache manager that I can install in the root folder, and have it apply to the whole site (or in any folder, applying to all folder contents, including sub-folders, etc.) * I'd like to be able to cache things but have the cached elements "time out" after N minutes. Clearly, I'm not worrying about correctness, but simply efficiency. Basically, I don't care if it takes N minutes before a user sees a given change to the site (it's fairly static). Any chance? (Please reply directly, as I'm not on the list right now.) Thanks. -- Cheers! Chris Ryland Em Software, Inc. www.emsoftware.com
Chris Ryland writes:
I understand how the RAM Cache Manager works, I think, but what I need is something slightly different, in a couple of ways:
... * I'd like to be able to cache things but have the cached elements "time out" after N minutes. I did not yet use the RAM Cache Manager, but I think, it works precisely as you want...
There is a parameter that controls when the cached information is stale and should be flushed. Dieter
Well, the timeout parameter seems to determine when the cache will be cleaned, but that's only if there's cache contention (which there won't be in this case). (Though the documentation is pretty rough here.) -- Cheers! Chris Ryland Em Software, Inc. www.emsoftware.com ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Chris Ryland" <cpr@emsoftware.com> Cc: <zope@zope.org> Sent: Sunday, February 24, 2002 1:11 PM Subject: Re: [Zope] caching time-outs?
Chris Ryland writes:
I understand how the RAM Cache Manager works, I think, but what I need is something slightly different, in a couple of ways:
... * I'd like to be able to cache things but have the cached elements "time out" after N minutes. I did not yet use the RAM Cache Manager, but I think, it works precisely as you want...
There is a parameter that controls when the cached information is stale and should be flushed.
Dieter
Chris Ryland writes:
Well, the timeout parameter seems to determine when the cache will be cleaned, but that's only if there's cache contention (which there won't be in this case).
(Though the documentation is pretty rough here.) "Maximum age of a cache entry" should be what you are looking for....
Dieter
participants (2)
-
Chris Ryland -
Dieter Maurer