commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Masson ...@kikamedical.com>
Subject [Jelly] nested compileScript() with import ?
Date Sat, 04 Dec 2004 23:06:33 GMT
hi

in the current version of jelly "import" tag, it seems that imported 
scripts are always parsed and recompiled each time the containing script 
runs,
even if this script has already been compiled.

the problem is that  it isn't optimized if the compiled version of the 
main script is cached.

is it possible to compile all scripts included via <j:import ...> via a 
single call to jellyContext.compileScript() on the containing script ?
should i write a custom tag to implement that (to replace import) ?

thanks in advance

arnaud



Mime
View raw message