Why Optimize?
First of all, the optimizer is not just removing
white spaces, comments etc. Not only shorthand properties
but also grouping are used for optimizing. Just like
this:
body {
font-size:14px;
font-family:Arial;
}
h1 {
font-size:14px;
font-family:Arial;
}
optimized as:
body,h1{font:14px arial}
Output will not be readable!
Yes
the output files will be messy in order to save more
space.
You should send your
CSS through a build process that doesn't replace the
source, but creates a seperate ready-to-upload compressed
version. Then, when you need to revise your CSS you
don't edit the compressed version that's out there,
you edit the source and then rebuild it before uploading.
What about server-side
compressing?
Gzip does what it does, not grouping nor using
shorthands.
An optimized file would be
compressed more and save more space.
« back to the optimizer