[dojo-contributors] Is there a tool to compress the CSS?

Peter E Higgins dante at dojotoolkit.org
Tue May 26 10:18:43 EDT 2009


More specifically, if you build with the option
cssOptimize="comments.keepLines" comments will be removed, and all
@import calls concatenated into one file (typically tundra.css, which
consists of nothing but comments and @import's)

Regards,
Peter


Nathan Toone wrote:
> The dojo build tool also combines CSS into a single file for you as well.
>
> -Nathan
>
> On May 25, 2009, at 9:28 PM, Guang Hong wrote:
>
>>
>> I found that there's a big performance issue of Dojo. That is there
>> are too many css files, which will cause too many http requests that
>> will slow down the page loading.
>>
>> For my case, I use Firebug to monitor the Net requests, there are 44
>> requests in total and 35 of them a css requests.
>>  I think it is a big problem which will break the user experience and
>> block the server as there are too much traffic!
>>
>> So is there a tool to compress the Dojo CSS files just like the util
>> that compress the Dojo JS files? Or just merge all the CSS files into
>> one?
>>  
>> Anyone can help?
>>
>>
>> Best Regards!
>>  
>> Ray Hong (洪光)
>> Shanghai Globalization Laboratory(SGL)
>> China Development Laboratory(CDL), IBM
>> email: hongg at cn.ibm.com <mailto:hongg at cn.ibm.com> Tel: (86-21)-60922065
>>  
>> Welcome to visit our homepage: _http://cdlsh.cn.ibm.com _
>> <http://cdlsh.cn.ibm.com/>
>>
>>  
>> _______________________________________________
>> dojo-contributors mailing list
>> dojo-contributors at mail.dojotoolkit.org
>> <mailto:dojo-contributors at mail.dojotoolkit.org>
>> http://mail.dojotoolkit.org/mailman/listinfo/dojo-contributors
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-contributors
>   


-- 
Peter E Higgins
Dojo Project Lead : http://dojotoolkit.org 



More information about the dojo-contributors mailing list