#1673 closed enhancement (fixed)
global.js - for packaged jQuery plugins use minify version when possible
Reported by: | r-a-y | Owned by: | DJPaul |
---|---|---|---|
Milestone: | 1.5 | Priority: | minor |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
Instead of including the .pack versions of jQuery scripts, when possible try to use .min (minify) versions.
Minified scripts offer a performance boost (when gzip'd).
In global.js, the Cookie plugin and querystring plugin are packed.
cookie.min.js can be found here - http://dev.jqueryui.com/browser/tags/1.6rc6/external/cookie/jquery.cookie.min.js?rev=2024
An online minify javascript tool can be found here - http://jscompress.com/
Change History (6)
#3
@
14 years ago
- Component set to Core
- Owner set to DJPaul
- Status changed from new to assigned
DJPaul - I'm assigning this to you since you've already looked into the issue of js minification. Let me know if you think it's in the cards for 1.3.
#5
@
14 years ago
- Resolution set to fixed
- Status changed from assigned to closed
As this ticket referred to the (old) packed versions of some javascript libraries included in global.js, which have since been replaced by minified versions, I'm marking this ticket as resolved. #1891 covers CSS/JS minify for other parts of core and BP-Default.
Okay, so this can almost be closed!
cookie.js is now minified in global.js.
Now if we can only minify the querystring plugin!
See below for a minifed version of the querystring plugin: