This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I have developed a mixin which uses interpolation to reduce unnecessary code: Here's a simplified example:
Unfortunately this compiles down in the .min.css file to:
Now, if I run this through a typical CSS Compressor (e.g. www.csscompressor.com) it will come out as :
I'm aware that this isn't typically much of an issue due to HTTP compression, but I'm curious: is there a way to make the minifier more aggressive? Is this a design question, roadmap issue, not on the radar? Cheers Ali Robertson |
|
|
Hi Ali, This is not something we control. We call out to the YUI compressor (generally regarded as a very good compressor). We don't actually build our own comrpessor. We have got on the back log to look at making the compressors configurable (e.g. support different ones) but it's quite low on the priority list at present as the YUI is pretty good generally. Appreciate your feedback though. John-Daniel |
|
|
Cool! always curious to know how these things work :) Subsequent to this post, I've run my entire .min.css file through various compressors and found it to be pretty decent overall. Thanks so much for a fantastic product (and a quick response!) |
|