WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I updated my WordPress installation to latest version (3.5)when i am looking at source code of my site, i saw following lines

<script type='text/javascript' src='http://localhost/myblog/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>

It seems like WordPress is only loading un-minifed version of Jquery, Is there any way i can configure it to load minified version in production?

I am unable to find any minified version under /wp-includes/js/jquery

share|improve this question
Load that link in a browser. Is it minified? It is when I look at it on my site. – s_ha_dum Jul 16 '13 at 18:15
@s_ha_dum it seems like that , but the size of same version from Google CDN is way less that what is being loaded by Wordpress – Umesh Awasthi Jul 16 '13 at 18:22
Does Google's CDN version use compression? – Pat J Jul 16 '13 at 18:29
Firebug's "Net" tab lists Google's jQuery 1.8.3 as 32.7k and WordPress' Core jQuery 1.8.3 as 32.7k. – s_ha_dum Jul 16 '13 at 18:32
@s_ha_dum: tools.pingdom.com shows wordpress version as 91.8 kB while google CDN version of 33.1 kB, which created confusion to me, may be google using some sort of compression – Umesh Awasthi Jul 16 '13 at 18:36

WordPress includes the minified version of jQuery as jquery.js rather than using jquery.min.js. I don't see any uncompressed version of it anywhere in the latest release of 3.5 (I'm looking at 3.5.3 right now).

They've made some other changes to how development and production assets are loaded. There are now several files that are *.dev.js and *.dev.css for use in development. These are the "regular" versions of those files, and the ones without .dev. are the production/minified versions. An example of how this is used is at http://codex.wordpress.org/Editing_wp-config.php#Debug.

If you look through the wp-includes and wp-admin folders, you'll see the previous method of providing the uncompressed file used in development along with the minified one for production use.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.