-----Original Message----- From: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] On Behalf Of Michael Dale Sent: 15 December 2008 16:33 To: Wikimedia developers Subject: Re: [Wikitech-l] Future of Javascript and mediaWiki
Roan Kattouw wrote:
Aryeh Gregor schreef:
I doubt there's a substantial difference in the size depending on whether you include
newlines or
not. But benchmarking's the only way to test, right? The
evidence
that minification helps for large amounts of JS are fairly unequivocal (see, e.g., Steve Souders' "High Performance
Websites").
Why don't we benchmark this on the actual MediaWiki JS?
Roan Kattouw (Catrope)
I don't think the current set of javascript will benefit from this effort as much as _future_ set of javascript. ie future libraries will contain many thousands of lines distributed over dozens of files rather than hundreds of lines over a handful of js files.
Minification could be made pretty pointless in the future.
Chromium* has experimental tech within it, which can reduce the payload of each js/css request to something as small as 30 bytes.
Jared
* Google toolbar for IE supposedly implements it, but I've been unable to get it working.