Support » Plugin: Dependency Minification » Plugin minifies differently on refresh, breaking things.

  • Resolved gabernx


    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?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Weston Ruter


    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.

    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.