Host 3rd Party JS/CSS Locally & Clean/Optimize WP's Header


Put WordPress’ <head> in a vice and squeeze out every last bit of performance.

Was this visual gruesome enough for you? Because this is exactly what this plugin does to WordPress.

With HELL for WordPress you can remove any script and/or style loaded by any theme or plugin from its <head> and (optionally) replace it with a local copy if it’s hosted on another domain. Besides that you can increase performance for all other resources by using dns-prefetch, preconnect and preload.


  • Remove scripts/styles from the <head> by either filename or handle,
  • Automatically download externally hosted scripts/styles and replace them with a local copy,
  • Add DNS-prefetch or Preconnect headers,
  • Add Preload headers for any local resource and specify the MIME-type.


HELL for WordPress can break the functioning of your theme and plugins. Handle with care. If you don’t
know what you’re doing, please contact your webdeveloper.


  • Auto-detection completed.
  • Download successful.
  • Remove scripts/styles example.


I don’t know what I’m doing. Can you help?

Due to the complex nature of this plugin, I’m not offering help with configuration for free. Configuration of this plugin is part of my WordPress Speed Optimization service. Of course, a bug report or suggestions to improve its usability can be issued in the Support Forum!


June 22, 2020
Even if know how setup own header in child theme, this is easy solution test with script like to remove or host locally. The author also speedy and responsive to questions when comes to solving small issue that would even call since working now with WordPress 5.4.2 and PHP7.4.
Read all 1 review

Contributors & Developers

“Host 3rd Party JS/CSS Locally & Clean/Optimize WP's Header” is open source software. The following people have contributed to this plugin.




  • Fixed deprecated notice for implode() function.
  • Tested with WP 5.2.


  • Preload now complies with new standards set by Mozilla.


  • Changed Plugin URI


  • Added General Settings tab
  • Optimization for logged in users, now needs to be enabled specifically.
  • Removed ad for HELL Expert Configuration, as I’m not offering that anymore (too complicated product for end users)
  • HELL is now triggered last in plugins loading order.


  • Tested with WP 5.4


  • Added a tabbed navigation.
  • Several code improvements.


  • Fixed bug where empty settings would still render a line in the source code.


  • Added Preconnect/DNS-prefetch feature.
  • Added Preload feature.


  • Fix broken link.


  • Minor modifications in Disclaimer.


  • Use wp_remote_get() instead of cURL.


  • First release