28 May
2005
28 May
'05
8:11 a.m.
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