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

Guang Hong hongg at cn.ibm.com
Sun May 31 01:15:22 EDT 2009


Thanks guys!
It's very valuable for me.

Best Regards!
 
Ray Hong (洪光)
Shanghai Globalization Laboratory(SGL)
China Development Laboratory(CDL), IBM
email: hongg at cn.ibm.com Tel: (86-21)-60922065
 
Welcome to visit our homepage: http://cdlsh.cn.ibm.com 
 



Peter E Higgins <dante at dojotoolkit.org> 
Sent by: dojo-contributors-bounces at mail.dojotoolkit.org
2009-05-26 22:18
Please respond to
"dojo dev." <dojo-contributors at mail.dojotoolkit.org>


To
"dojo dev." <dojo-contributors at mail.dojotoolkit.org>
cc

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






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 

_______________________________________________
dojo-contributors mailing list
dojo-contributors at mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-contributors


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20090531/6e251bf1/attachment.htm 


More information about the dojo-contributors mailing list