commons-user mailing list archives

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

in the current version of jelly "import" tag, it seems that imported 
scripts are always parsed and recompiled each time the containing script 
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


View raw message