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