Title: Asset Optimization Doesn&#8217;t Work
Last modified: June 24, 2022

---

# Asset Optimization Doesn’t Work

 *  Resolved [northcutt](https://wordpress.org/support/users/northcutt/)
 * (@northcutt)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/asset-optimization-simple-doesnt-work/)
 * Whole issue is in the title.
 * Manual asset optimization is turned on. Every last script presently set to combine
   + minify (if not already). Stylesheets too. See:
 * [https://www.evernote.com/l/ANrqUPoUjR5D2YLaeIifLGAViQAeSZ-aois](https://www.evernote.com/l/ANrqUPoUjR5D2YLaeIifLGAViQAeSZ-aois)
 * View source in incongito. A couple minified hummingbird files are generated but
   nothing is combined:
 * [https://www.evernote.com/l/ANreBvegA7tPPK4_G-3aH2FT0r1rgjV2At8](https://www.evernote.com/l/ANreBvegA7tPPK4_G-3aH2FT0r1rgjV2At8)
 * Additionally, nothing is set to force to the footer, yet that’s where everything
   has been moved. All scripts are enqueued with $in_footer set to “false”.
 * I enabled the error log in settings and no errors:
 * [https://roi.fyi/wp-content/wphb-logs/minify-debug.log](https://roi.fyi/wp-content/wphb-logs/minify-debug.log)
 * The feature simply does not work. It’s just not combining.
 * There are other issues aside from combining. It’s not seeing my enqueued script
   files that don’t end in “.js” (the Google Tag Manager for GA and the datatables
   script with an [@version](https://wordpress.org/support/users/version/) at the
   end).
 * [https://www.evernote.com/l/ANpWHwGf0QpKG6OYi8tLuhIbYwgPb2uByrc](https://www.evernote.com/l/ANpWHwGf0QpKG6OYi8tLuhIbYwgPb2uByrc)
 * Tooltip states says (falsely) that there’s no valid URL for these scripts.
 * I’m growing a bit dubious whether this feature actually ever does what it states
   as it’s not even close on anything and there are no errors given.
    -  This topic was modified 3 years, 10 months ago by [northcutt](https://wordpress.org/support/users/northcutt/).
    -  This topic was modified 3 years, 10 months ago by [northcutt](https://wordpress.org/support/users/northcutt/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fasset-optimization-simple-doesnt-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/asset-optimization-simple-doesnt-work/#post-15772154)
 * Hi [@northcutt](https://wordpress.org/support/users/northcutt/)
 * I hope you are doing well.
 * I can see the plugin is combining the files:
 * [https://monosnap.com/file/jueGz3Iy8F4Rrbyf2KuE6rXUSyTEgd](https://monosnap.com/file/jueGz3Iy8F4Rrbyf2KuE6rXUSyTEgd)
 * It won’t combine everything and create a single file, but combine the group of
   common files so it won’t return errors on your styles/javascript.
 * The plugin also combines the files when WordPress call it, a cached page can 
   cause a delay in the combining.
 * I can see you are using Cloudflare.
 * Can you please try the following steps?
 * – Enable Cloudflare on development mode
    – Disable Hummingbird > Caching > Preload
   if you have it enabled – Remove Query Strings Hummingbird > Advanced Tools – 
   Use the plugin heath settings in Hummingbird > Advanced Tools > Plugin health–
   Re-check the Assets in the Hummibgird Assets Optimization – Access the front 
   end using a different browser and mobile, and navigate between some pages to 
   ensure WordPress call all scripts using wp_enqeue_script/style.
 * Let us know the result you got.
    Best Regards Patrick Freitas
 *  Thread Starter [northcutt](https://wordpress.org/support/users/northcutt/)
 * (@northcutt)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/asset-optimization-simple-doesnt-work/#post-15871372)
 * Hey Patrick,
 * Thanks… closing the loop on this… I went ahead and tried all of that. No effect
   on any of those solutions.
 * Cloudflare is a non-issue, currently used for DNS only (no proxy).
 * I was able partially resolve by changing how I enqueue scripts… turns out I wasn’t
   using best practice with hooks in functions.php.
 * Based on your reply and reading up, it sounds like the feature just doesn’t work
   as advertised… while it implies that it’s combining everything, much just doesn’t
   get combined no matter what?
 * Can confirm that at least a handful of scripts are combined… so assuming at this
   point that this is just the best we’re going to get.
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/asset-optimization-simple-doesnt-work/#post-15875169)
 * Hi [@northcutt](https://wordpress.org/support/users/northcutt/)
 * I hope you are doing well.
 * Let me explain a bit more about how it will work.
 * We can’t move everything to the footer for example in case the plugin would combine
   one file that depends on a different file in a wrong sequence it would cause 
   some conflicts in your style and JavaScript, so the plugin is able to identify
   common tags and combine those files in smaller files giving you to have more 
   control what is moved or not to the footer without creating errors.
 * All scripts and files should be minified and combined, but the number of Files
   inside of the same combined version depends on common files.
 * Best Regards
    Patrick Freitas
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/asset-optimization-simple-doesnt-work/#post-15934868)
 * Hello [@northcutt](https://wordpress.org/support/users/northcutt/) ,
 * We haven’t heard from you for some time now, so it looks like you don’t have 
   any more questions for us.
 * Feel free to re-open this ticket if needed.
 * Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Asset Optimization Doesn’t Work’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/asset-optimization-simple-doesnt-work/#post-15934868)
 * Status: resolved