Opened 16 years ago
Closed 16 years ago
#8793 closed enhancement (wontfix)
Include packed / minimized versions of prototype.js & wp-scriptalicious.js
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | 2nd-opinion |
Focuses: | Cc: |
Description
In a standard WP2.7 install, the page weight of an admin page is quite heavy (+- 750kb)
How about including the packed / minimized versions of prototype.js & wp-scriptalicious.js?
This could save approx 100kb.
Change History (6)
#2
@
16 years ago
Unfortunately Prototype and Scriptaculous don't have official minified versions, there are a few "packed" versions around although they load slower than the minified (a lot of overhead in the browser).
Since minifying/packing can break them, think we will need some feedback from people that use them about which are the best/safest.
Note: See
TracTickets for help on using
tickets.
How about people just stop using those stupid js's and use jQuery ;)
Or for that matter, Only queuing those JS's on the pages that need it.. (which is none of Core WP, only plugins which choose to use it still)
...On a more serious note, See also: #8629 & [10291] (Whilst that commit doesn't touch the JS mentioned here..)