• Resolved NibbleByte

    (@nibblebyte)


    I’ve installed W3 Total Cache and played around with the minify settings.
    Looking at the produced source code of one of the minified js files, I’ve noticed that it is only half minified.
    Check this screenshot:

    JSMin not working

    The non-minified part is the beginning of a js file, part of one of the plugins. Then after it is another un-minified js file… No whitespaces or comments are removed.

    I’ve selected the JSMin method for minify, and NOT “Combine Only”.

    Is there some limitation of the JSMin for the size of the minified code or something?

    10x

Viewing 1 replies (of 1 total)
  • Thread Starter NibbleByte

    (@nibblebyte)

    I figured it out.
    The minify process skips files that have “min” in them. In my case I had these files included:
    jquery.flexslider-min.js
    chosen.jquery.min.js

    Which one would think they are minified, but turns out they were not, for some reason. I minified them manually, but when I update the plugins, I’ll have to do it again.

Viewing 1 replies (of 1 total)
  • The topic ‘JSMin minifies only half of the file’ is closed to new replies.