#43581 closed enhancement (worksforme)
jquery.js should be changed to .min
Reported by: | calumbrash | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.1 |
Component: | General | Keywords: | close |
Focuses: | javascript, performance | Cc: |
Description
jquery.js core file should be changed to jquery.min.js to reflect that the file is minified.
Change History (4)
Note: See
TracTickets for help on using
tickets.
Hi @calumbrash, thanks for opening a ticket.
WordPress has included the minified version of jQuery in its current location since [4904]. I dug around to see if we had ever made a conscious decision, but this comment probably says it best.
If WordPress were to start serving jQuery at
jquery.min.js
, then we would also need to provide a backwards compatible fallback atjquery.js
, which would increase the size of the WP project without much benefit.A related ticket is #43055, which deals with how JS may be organized in the project going forward.