Extension, Plugin

Archived
Forum
(read-only)

Minimee

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From John D. Wells

     

CSS being combined but not minified

Support Request

Marc Tiedemann
Marc Tiedemann

Hello,

I successfully combined and minified js and combined css but the css won’t get minified. I tried to strip it down to just one css file and changed the minification setting from “minify” to “cssmin” (in config.master).

Any ideas what could be causing this?

Thanks and Cheers,

Marc

John D Wells
# 1
Developer
John D Wells

Hi Marc,

If you turn on EE’s template debugging, search for any log message that has “Minimee [” in it, that’s the start of every message, whether it’s an error or purely debugging.

There are 2 instances in which Minimee would return the original, un-minified data; if the net result is an empty string (which may indicate a problem), or if the net result is not actually smaller than the original data.  Either of those messages will be reported in the template logs.

Beyond that, be sure that you haven’t inadvertently told Minimee to not minify your code?

Cheers,
John

Marc Tiedemann
# 2
Marc Tiedemann

Thanks John,

it’s been one of those cases again. I had it all doublechecked yesterday. Today, after reading your answer and going through it again, I suppose that I must have inadvertently told Minimee to not minify CSS. It’s embarassing.

Thanks, everything’s running now!

Marc *stillblushing*

John D Wells
# 3
Developer
John D Wells

Hah no worries, just happy to hear there wasn’t an underlying issue!

Cheers,
John