[Zope] Python external method caching...

Dieter Maurer dieter@handshake.de
Thu, 12 Jul 2001 20:24:31 +0200 (CEST)


Nicolas Villetard writes:
 > When I try to associate files to this cache, it answers "Only those
 > objects for which you have the "Change cache settings" permission are
 > shown. 
 > " and I didn't find "change cache settings" parameter in external
 > methods security section...
It is well possible that they do not support caching.

But it is easy to wrap them in a DTML method, which is cachable.

    External Method    f(a,b,c,d)

    DTML Method	       f_:     <dtml-var "f(a,b,c,d)">

You use "<url_to_f_container>/f_" instead of
"<url_to_f_container>/f".


Dieter