[Zope-PAS] Re: Authentication caching

Wichert Akkerman wichert at wiggy.net
Mon Aug 21 04:24:01 EDT 2006


Previously Stefan H. Holek wrote:
> The main idea of my branch is to have all caching in PAS, so that  
> individual plugins do not have to concern themselves with ZCacheable.  
> I don't think it makes PAS more clumsy, it's just a few lines after  
> all, but it makes auth plugins easier to write.

Having all caching complexity in a single location sounds a lot more
sensible than implementing caching in all plugins. 

Wichert.

> On 19. Aug 2006, at 17:29, Tres Seaver wrote:
> 
> >Can you hold off a bit?  I'm travelling and would like to have time to
> >look at the patch more carefully.  Overall, I *thin* I would like to
> >keep the caching itself out of the framework, because it is completely
> >irrelevant for lots of plugins, and introduces complexity / overhead.
> >
> >An alternate idea I had was to implement a 'CacheablePluginHelper',
> >which would wrap another plugin, providing caching.  It might be
> >possible to make it generic (like the ScriptablePlugin is).
> 
> --
> It doesn't necessarily do it in chronological order, though.
> --Douglas Adams
> 
> 
> _______________________________________________
> Zope-PAS mailing list
> Zope-PAS at zope.org
> http://mail.zope.org/mailman/listinfo/zope-pas

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Zope-PAS mailing list