Howdy!

Til Schneider wrote:
Antonio Melé schrieb:

I want to use qooxdoo in a website that contains iframes which also contain qooxdoo widgets.
The problem is: if i got 4 iframes qooxdoo.js will be loaded 4 times.
Is it possible to load qooxdoo.js only 1 time and work with it in every iframe?


The qooxdoo.js will be cached by your browser. So in fact it will be loaded only once. Thus you have no problem.

Just wanted to stress the fact that despite the qooxdoo.js may be loaded only once and subsequently be delivered from the browser's cache, you still have the penalty of initializing 4 different qooxdoo applications (e.g. parsing the js file, qooxdoo initialization phase, ...).

qooxdoo.js isn't really lightweight. One could reduce the weight/size with customized builds (using the tools/generate-dev compiler; still under development). To take advantage of the browser cache one could generate common builds like qooxdoo_core.js that are included in every iframe, and specific builds that add required features in qooxdoo_1.js, etc.

YMMV,

Andreas



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to