[Lift] Re: Speeding load time; liftAjax.js and other javascript minified?

2009-07-10 Thread marius d.
liftAjax is dynamically generated and it does not represent static content. Please see ScriptRenderer.scala. However is is a pretty small script so I'm not sure how much we'll actually fain by minifying it. Can you run a benchmark? Take from the browser the generated script, minify it and the

[Lift] Re: Speeding load time; liftAjax.js and other javascript minified?

2009-07-10 Thread Timothy Perrett
Hey, liftAjax.js is not regenerated dynamically as far as im aware... By default, lift ships with the maven plugin for YUI compressor, so that should minify the CSS/JS in your webapp dir. Perhaps we should try and minify liftAjax.js during the build of lift... marius is probally the best man

[Lift] Re: Speeding load time; liftAjax.js and other javascript minified?

2009-07-10 Thread marius d.
Tim, sorry but I have to say that liftAjax.js IS generated dynamically as I stated above :). It is not a script sitting somewhere but it ultimately comes from ScriptRenderer.scala Br's, Marius On Jul 10, 11:26 am, Timothy Perrett timo...@getintheloop.eu wrote: Hey, liftAjax.js is not

[Lift] Re: Speeding load time; liftAjax.js and other javascript minified?

2009-07-10 Thread Jeppe Nejsum Madsen
DFectuoso santiago1...@gmail.com writes: I dont know how liftAjax.js is generated, or if it changes or not, also I have no idea (if it regenerated) how it could be minified, and I know that minification seem like a micro-optimization but... [...] So, analyzing a couple of lift apps with

[Lift] Re: Speeding load time; liftAjax.js and other javascript minified?

2009-07-10 Thread DFectuoso
Ok, i got my tools ready; but I am too tired so i'll run them tomorrow... Right now i did 2 different minifications on dfectuoso.com/liftAjax/ test1.html and test2.html in test.html its the liftAjax file we all use... so, im probably going to run a couple hundred hits on each one and see if

[Lift] Re: Speeding load time; liftAjax.js and other javascript minified?

2009-07-10 Thread DFectuoso
I kinda knew that coz i did a very fast search for a file called liftAjax.js... just wanted to be sure! And now I am... Why don't you guys let me run some benchmarks before actually investing some time on this? (but keep talking about this subject tho, nothing bad can come from exploring how to