[Zope] Help! Disabling caching for external method

Thomas B. Passin tpassin@mitretek.org
Wed, 16 Jan 2002 12:33:05 -0500


[Satheesh Babu]

>
> I've a fairly complicated business logic that I implemented in Python as
an
> external
> method. Essentially, it takes in a list of tuples (generated by a ZSQL),
> current URL1 and returns a filtered
> list of tuples. It works very well on the command line. (ie
> ZOPE_HOME/bin/python myfile.py...)
>
> However, whenever I try to call it from a DTML method, the results I get
> back are
> (I think) cached ones, regardless of the URL1 I'm passing to it.
>
> Any help is greatly appreciated!
>
> I'm on Zope 2.1.6 on NT4 - upgradation to 2.4.3 is scheduled for next
month.
>

Hmm, I use external methods all the time with Zope (various versions on
Windows) and haven't seen that.  It would be more a browser problem, and
Netscape is notorious for caching when you don't want it to.

It's possible to put instructions into the page not to cache - but I don't
remember the details - isn't it a <meta> tag?

Cheers,

Tom P