[Zope-PAS] PAS Caching
jens at dataflake.org
Mon Nov 8 04:00:02 EST 2004
On Nov 8, 2004, at 9:56, Chris McDonough wrote:
> On Mon, 2004-11-08 at 09:24 +0100, Jens Vagelpohl wrote:
>> One of the reasons I did not want to touch RAMCacheManager itself is
>> simply the fact that I didn't want to tell the customer to run some
>> checkout of Zope in order to make this work. Your argument is
>> valid otherwise. What I'll do is indeed change RAMCacheManager and
>> apply the "enhancements" there. If the customer does not want to use a
>> CVS checkout I'll build a monkeypatch product.
> Maybe just create a BetterRAMCacheManager product?
Argh, not another wheel, please...
>> The code already does a aq_base on the user before storing it, so
>> that's not a problem. As far as the persistent user goes, IMHO that's
>> bridge I will cross when we get to it.
> Maybe it'd be good to put a "if getattr(user, '_p_jar', None) is not
> None: raise RuntimeError" before doing the ZCacheable_set so people
> don't waste too much time if they make a mistake and feed it a
> persistent object?
Sounds like a good compromise, I'll add that.
More information about the Zope-PAS