[Zope-dev] RAMcache and container vs. context
Dieter Maurer
dieter at handshake.de
Sat May 28 04:11:05 EDT 2005
Stefan H. Holek wrote at 2005-5-27 10:59 +0100:
>A TALES expression may be prohibitively expensive in any case, no
>matter how simple it is kept. Please make sure to do some comparative
>profiling. Cache keys are recomputed on every call of the script,
>AFAICS. The thought of doing this in restricted Python makes my skin
>crawl.
But "TALES" expressions need not necessarily be restricted (see my
"TrustedExecutables").
Though, I did not think about the security inplications
when we would use unrestricted TALES expressions for a cache manager.
It would probably be a bad idea.
--
Dieter
More information about the Zope-Dev
mailing list