• hi there!

    I have spent two days on this but not able to figure this out. I have gone through many tutorials and guides but nowhere can I find a fix for this. I am working with the latest 0.9.7.

    I have enabled css/js minification (default types) with auto settings. But the files in the frontend are just not getting minified. They do combine to some extent but nothing in minified!

    I have checked permissions, checked various settings, cleared caches, deleted cache folders etc. but nothing seems to help.

    Please help!

    Thanks very much!

    • This topic was modified 5 years, 10 months ago by kujain.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You’ll need to be more specific on what you mean not getting minified. Do you mean, some files are not getting merged into one single file? Or do you mean individual files are not being compacted? Or do you mean, files are remaining untouched and keeping their original css/file names instead of taking on a minified filename structure? What are these files?

    It’s likely not a bug but how your theme is behaving.

    Switch to manual mode and use the Help Wizard to select the files that are not being minified.

    Also, typically jQuery will be the one not wanting to merge in. In that case u can add some trivial code in your (child) theme’s functions.php to get it resolved. I’ve posted this before but too lazy to write it again.

    Anyway, its not uncommon for some files not wanting to minify. It’s due to how some themes behave. I’ve worked in themes where i had to adjust how they included css/js files via dequeing and requeing (i didnt need to change any of the theme’s code, just added my own in a child theme to fix theres). So for me, i have gotten “Auto” to work just fine for every theme, but some themes just required a little more care to get it to work. But for those who aren’t willing to jump into php then the Manual mode is usually the simpler option.

    Thread Starter kujain

    (@kujain)

    Thanks for your response!

    By not minify, I mean that the files are getting combined but they are not getting compressed and minified.
    All the js and css files have been added to the theme through enqueueing all assets. So I would think they would get processed. I can see that WTC is reading it and it combined the theme files into a couple of combined files, but its not doing the next step of actual minification.

    Hope that helps…

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘w3 Total Cache – no minification happening’ is closed to new replies.