thanks for your reply, geert!
Geert Josten wrote:
Hi Jörn,
I do not really know that much about FlowScript, but I have been
wondering about caching and reloading of flowscripts as well. I do
know that there is an entry in cocoon.xconf to configer the js
interpreter, look for 'flow-interpreter' and you'll find.
iiuc, i can configure it to check the flowscript for modification each
time (at a performance penalty). but how does cocoon determine
"modification"? if it only looks at the file timestamp, i still have
problems, because i have the parameterised "cocoon.load" call in there -
which means that the cache is only valid if the flowscript *and* all
cocoon.load()ed resources are unchanged.
are there docs on cocoon.load()?
I also know
that there is something special about continuations. It's a weird
situation if you request a continuation, but your script has been
changed in the meantime. I believe continuations are invalidated for
that reason if something like that occurs.
eek. looks like i have to ditch my current approach with cocoon.load()
and use dynamically generated function objects then.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]