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
|
Posted: 27 November 2013 09:49 PM |
|
|
|
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
|
Posted: 28 November 2013 11:17 AM |
# 1
|
|
Developer
|
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
|
Posted: 28 November 2013 11:38 AM |
# 2
|
|
|
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
|
Posted: 28 November 2013 11:44 AM |
# 3
|
|
Developer
|
Hah no worries, just happy to hear there wasn’t an underlying issue!
Cheers,
John
|
|
|