Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-30 Thread Sebastiaan van Erk
Objelean wrote: It would be nice to have 2 versions of each js: original & packed. For instance: wicket-ajax.js & wicket-ajax.pack.js Also to use the packed version in DEPLOYMENT model. This is applicable to other js from the wicket-core & wicket-extensions. The idea is to redu

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-30 Thread David Bernard
What do you mean by included resources ? By default every js and css under src/main/resources, src/main/webapp, src/main/js are minified. (using the resources option is for exceptionnal case) Contact me privatly for questions about the plugin (not related to wicket). Alex Objelean wrote: David

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-30 Thread Alex Objelean
t;>> Regards >>> >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> > > ---

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Johan Compagner
t;>> packed/nonpacked in deployment/development mode is seriously not > worth > >>>>>>> it. Furthermore the core developers only have so much time, and I > think > >>>>>>> in that respect it's also a waste of their time if they had to

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread David Bernard
You could aggregate every type of resources. Alex Objelean wrote: Very interesting. Would be nice to have also aggregate css. Regards, Alex. David Bernard-2 wrote: If you want you could use the yuicompressor-maven-plugin to "minified" (more than just strip whitespace) at build time. http:/

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Alex Objelean
--- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-RFE--packed-JS-in-DEPLOYMENT-mode.-tf4896243.ht

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread David Bernard
If you want you could use the yuicompressor-maven-plugin to "minified" (more than just strip whitespace) at build time. http://alchim.sf.net/yuicompressor-maven-plugin Other features: * aggregate js * minified css So you could test/run with minified in development and/or deployment mode Disclam

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Alex Objelean
notice the >> >>> overhead for some js (the sum of the size of images is often bigger >> than >> >>> the sum of all the js). Furthermore, the js is static: it almost >> never >> >>> changes, so the it is downloaded only once! Also, if the js

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Sebastiaan van Erk
of each js: original & packed. For instance: wicket-ajax.js & wicket-ajax.pack.js Also to use the packed version in DEPLOYMENT model. This is applicable to other js from the wicket-core & wicket-extensions. The idea is to reduce the overall traffic. Any thoughts? Alex -- View this messa

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Matej Knopp
gt;>>>> It is indeed does not result in a performance boost, but it is still an > >>>>>> improvement. > >>>>>> > >>>>>> > >>>>>> Sebastiaan van Erk wrote: > >>>>>>> I don'

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Sebastiaan van Erk
Alex Objelean wrote: It would be nice to have 2 versions of each js: original & packed. For instance: wicket-ajax.js & wicket-ajax.pack.js Also to use the packed version in DEPLOYMENT model. This is applicable to other js from the wicket-core & wicket-extensions. Th

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Matej Knopp
o do you want to reduce the overall traffic? The client, or the > >>>>> hoster? > >>>>> > >>>>> I experimented with the packed js, but in general I hardly notice the > >>>>> overhead for some js (the sum of the size of images is often b

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Sebastiaan van Erk
It would be nice to have 2 versions of each js: original & packed. For instance: wicket-ajax.js & wicket-ajax.pack.js Also to use the packed version in DEPLOYMENT model. This is applicable to other js from the wicket-core & wicket-extensions. The idea is to reduce

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Matej Knopp
! Also, if the js is reused > >>> accross pages, then it's only downloaded once on one page! Thus you are > >>> optimizing for the very first pageload. > >>> > >>> However, the js has to be unpacked by the client EVERY SINGLE PAGE VIEW. > &g

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Alex Objelean
uery lib, I really NOTICED this a lot. It was >>> VERY irritating (couple 100 ms delay every time I view ANY page on my >>> site). >>> >>> Regards, >>> Sebastiaan >>> >>> >>> Alex Objelean wrote

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Matej Knopp
w this message in context: > http://www.nabble.com/-RFE--packed-JS-in-DEPLOYMENT-mode.-tf4896243.html#a14022953 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-m

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Sebastiaan van Erk
I'm talking about packers (like the jQuery packed version): What I see in jQuery.pack.js: eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/, String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Alex Objelean
duce >> the >> overall traffic. >> >> Any thoughts? >> >> Alex > > > -- View this message in context: http://www.nabble.com/-RFE--packed-JS-in-DEPLOYMENT-mode.-tf4896243.html#a14023353 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Sebastiaan van Erk
I don't really understand the desire to pack js. For who do you want to reduce the overall traffic? The client, or the hoster? I experimented with the packed js, but in general I hardly notice the overhead for some js (the sum of the size of images is often bigger than the sum of all the js)

[RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Alex Objelean
e in context: http://www.nabble.com/-RFE--packed-JS-in-DEPLOYMENT-mode.-tf4896243.html#a14022953 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm