css minification

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Jan 16 14:30:33 PST 2015


On 1/16/15 2:26 PM, Vladimir Panteleev wrote:
> On Friday, 16 January 2015 at 22:17:51 UTC, Steven Schveighoffer wrote:
>> On 1/16/15 5:12 PM, Andrei Alexandrescu wrote:
>>> On 1/16/15 1:44 PM, Steven Schveighoffer wrote:
>>>> I don't care how much of the overall bandwidth it is, what I was asking
>>>> is how much does the file shrink if you minify.
>>>
>>> 30% -- ANDREI
>>
>> so d-minified.css.gz is 30% smaller than d.css.gz? Just want to clarify.
>>
>> -Steve
>
>                Original  Minified
> Uncompressed    16028     11959
> gzip -9          4252      3194
>
> Looks closer to 25%, but same ballpark.

So then the two optimizations don't compete. I hate it when I'm right 
:o). -- Andrei


More information about the Digitalmars-d mailing list