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
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
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
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
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
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