pace icon indicating copy to clipboard operation
pace copied to clipboard

Minify CSS?

Open TuckerWhitehouse opened this issue 13 years ago • 3 comments

Would be really helpful (although it's small) to have the CSS minified.

TuckerWhitehouse avatar Sep 24 '13 15:09 TuckerWhitehouse

As a test I minified our largest theme (bounce):

Type Size
Uncompressed and Unminfied 5043 bytes
Uncompressed and Minfied 3869 bytes
Compressed and Unminfied 761 bytes
Compressed and Minified 641 bytes

So, assuming your web server is correctly compressing its responses, we're looking at a savings of 120 bytes. I don't think it's worth doing.

zackbloom avatar Sep 24 '13 17:09 zackbloom

It was less for actual benefit, and more because I wanted to add it to https://github.com/cdnjs/cdnjs which requires that all assets have a minified version (regardless of savings)

TuckerWhitehouse avatar Sep 24 '13 18:09 TuckerWhitehouse

Thanks for offering to add it! I've had unminified assets added before, they don't seem to mind. If it is an issue though, please let me know and I'll make sure you have what you need.

zackbloom avatar Sep 24 '13 18:09 zackbloom