Title: Combine external JavaScript
Last modified: June 28, 2017

---

# Combine external JavaScript

 *  [kevinatomic55](https://wordpress.org/support/users/kevinatomic55/)
 * (@kevinatomic55)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-external-javascript-4/)
 * I ran my site through Pingdom and it is giving me a bad score for Combine external
   JavaScript. I looked at the files it recommends and these files are in there:
 * [http://teamthompson.com/wp-content/cache/minify/02ce5.js](http://teamthompson.com/wp-content/cache/minify/02ce5.js)
   
   [http://teamthompson.com/wp-content/cache/minify/14960.js](http://teamthompson.com/wp-content/cache/minify/14960.js)
   [http://teamthompson.com/wp-content/cache/minify/1c03f.js](http://teamthompson.com/wp-content/cache/minify/1c03f.js)
   [http://teamthompson.com/wp-content/cache/minify/410ec.js](http://teamthompson.com/wp-content/cache/minify/410ec.js)
   [http://teamthompson.com/wp-content/cache/minify/5e48a.js](http://teamthompson.com/wp-content/cache/minify/5e48a.js)
 * How do we get this into one file? Shouldn’t the plugin do this for me?

Viewing 1 replies (of 1 total)

 *  [Ben](https://wordpress.org/support/users/benbornschein/)
 * (@benbornschein)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-external-javascript-4/#post-9270682)
 * Well sometimes you can’t get just one JavaScript file, because some JavaScript
   files are injected after <head> was completed. You also have JavaScript that 
   wants to be placed into the footer. So you have at least two JavaScript files,
   a header JavaScript file and a footer JavaScript file.
 * You can try advanced JavaScript minification settings and manually select which
   file should be combined. You can also check out this great guide for W3 Total
   Cache [https://premium.wpmudev.org/blog/w3-total-cache-settings/](https://premium.wpmudev.org/blog/w3-total-cache-settings/)
 * If you don’t want to grapple with this I can recommend you my free [Caching Plugin](https://borlabs.io/).
   But this will also generate at least two JavaScript files (header and footer).
   For your site I would recommend you to activate **Merge JavaScript files** and**
   Late Initialization** (in my plugin under Advanced Settings > JavaScript).

Viewing 1 replies (of 1 total)

The topic ‘Combine external JavaScript’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ben](https://wordpress.org/support/users/benbornschein/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/combine-external-javascript-4/#post-9270682)
 * Status: not resolved