开发者

Is there a good .Net CSS aggregator that combines style sheets and minifies them?

I am looking to see if there is an open source/free project that provides a CSS manager. I am looking for this mainly for performance tweaking and hoping there is a readymade project rather than building from scratch. Features I am looking for include:

  1. Combines multiple .css files into a single css file
  2. Optionally minifies the resulting .css file
  3. Works well with .Net 开发者_如何学运维(a user control, custom handler, etc)

Is there a project out that that handles this?


SquishIt does a great job combining / minifying and may be of interest


You can try YUICompressor for .Net for the minifying.

We use this on my current project and it works well - it also supports minifying Javascript.

For the aggregating (inlining multiple files into a single file), we ended up rolling our own, as we couldn't find something in .Net that did exactly what we wanted.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜