Title: Plugin minifies differently on refresh, breaking things.
Last modified: August 22, 2016

---

# Plugin minifies differently on refresh, breaking things.

 *  Resolved [gabernx](https://wordpress.org/support/users/gabernx/)
 * (@gabernx)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-minifies-differently-on-refresh-breaking-things/)
 * Hi, I do not understand why this happens. Upon first installing it, everything
   seemed to work fine, but after some browsing a few plugins/scripts started to
   break. Loading a couple of particular ones on the homepage makes everything work
   or break several things, yet when not loaded I can refresh a few times or navigate
   and come back and the scripts will be properly loaded. I would like to use this
   plugin, but how am I supposed to get it to work consistently?
 * Thanks.
 * [https://wordpress.org/plugins/dependency-minification/](https://wordpress.org/plugins/dependency-minification/)

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

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-minifies-differently-on-refresh-breaking-things/#post-5909089)
 * When first activating, the scripts/styles aren’t minified yet. The minification
   happens asynchronously. When the scripts/styles do get minified, it could be 
   that the minification library is failing to do the job properly, or the scripts/
   styles aren’t written in a way that the can be concatenated, and the result is
   the site does not load properly when the minified assets are served.
 *  Thread Starter [gabernx](https://wordpress.org/support/users/gabernx/)
 * (@gabernx)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-minifies-differently-on-refresh-breaking-things/#post-5909104)
 * After some testing I actually discovered some cache files remnants from old plugins,
   and deleting that fixed things. Thank you for a great minification plugin!

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

The topic ‘Plugin minifies differently on refresh, breaking things.’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dependency-minification.svg)
 * [Dependency Minification](https://wordpress.org/plugins/dependency-minification/)
 * [Support Threads](https://wordpress.org/support/plugin/dependency-minification/)
 * [Active Topics](https://wordpress.org/support/plugin/dependency-minification/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dependency-minification/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dependency-minification/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [gabernx](https://wordpress.org/support/users/gabernx/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-minifies-differently-on-refresh-breaking-things/#post-5909104)
 * Status: resolved