Discussion:
[melkjug-dev] javascript work
Joshua Bronson
2009-05-13 17:06:58 UTC
Permalink
In working on http://oss.openplans.org/melkjug/ticket/370 serve minified
javascript I revived the debug_javascript setting (it hadn't been in use for
a while). If set to False (default is True), melkjug will now reference a
minified/combined version of the javascript that the reader depends on,
including YUI (via YUI loader), rather than referencing local unminified
separate javascript files. Between doing that and moving the javascript down
to the end of the body, our Javascript grade in YSlow went from an F to an
A:)
In the process I tried running against jQuery 1.3.2 and YUI 2.7.0 (which
offer significant speed improvements among other things) and it seems to be
working fine. The trunk now references these newer library versions when
debug_javascript is False. I think it should be fine but if you notice
anything weird let me know.
Randall Leeds
2009-05-13 18:33:20 UTC
Permalink
Post by Joshua Bronson
separate javascript files. Between doing that and moving the javascript
down to the end of the body, our Javascript grade in YSlow went from an F to
an A:)
Win!
Awarded (Josh): +1 pizzas.

Loading...