Most flexible minimizer/compressor for ASP.NET MVC 2?
Posted
by AlexanderN
on Stack Overflow
See other posts from Stack Overflow
or by AlexanderN
Published on 2010-06-14T04:32:19Z
Indexed on
2010/06/14
4:42 UTC
Read the original article
Hit count: 283
From your experience, what's the most flexible minimizer/compressor (JS+CSS) for ASP.NET MVC you've dealt with?
So far
- mbcompress doesn't seem to be too MVC friendly
- weboptimizer.codeplex.com lacks documentation
- clientdependency.codeplex.com is still in beta
- compress2 seems like a good candidate, but haven't tried it yet
- mvcscriptmanager only combines and compresses javascript but not CSS
By flexible I mean
- Choose what should be compressed, minified, and combined
- Add exceptions. E.g. if debug don't compress XYZ.JS or don't minify ABC.CSS
- Caching
- In the end, it should help offer the best YSLOW score.
If you know of any other assemblies out there, please list them also.
© Stack Overflow or respective owner