Changes

Jump to: navigation, search

Platform/AreWeFunYet

185 bytes added, 12:38, 15 April 2012
Compression of JavaScript code
-- Idea: can we standardize a flag on XMLHTTPRequests which says ... "and decompress it before giving it to me"? So they could have two versions on the server - a minified and a .gz. They check for support for this feature and, if it's present, set the flag and stick ".gz" on the end of the requested filename. XMLHTTPRequest fetches the data, decompresses it internally and just presents it as if it had not even been compressed. -- Gerv
 
One topic brought up was the effect of gzip and/or minified JS on file size. There is a great breakdown of jQuery file sizes available [http://mathiasbynens.be/demo/jquery-size here].
=== Speed of first-run ===
Confirm
94
edits

Navigation menu