Which one is best for SquishIt and Combres2?

Does anyone have a comparison between the two libraries (Combres2 and SquishIt)? If one library is better than another, I also want to know the reason .

I found that the article says Combres2 has better compression than SquishIt. But this is almost a year ago.

http://blog.buzzuti.com/post/Combres-vs-SquishIt-e28093-A-battle-of-Minification-Combiner-and-Squishing-in-generale280a6.aspx

+4
source share
3 answers

It should be noted that SquishIt works differently than Combres2, so it’s not easy to produce better code.

SquishIt works great with T4MVC, which you won’t get Combres2 with. Based on this, I would tell someone to use SquishIt. In addition, SquishIt is not an xml config file that allows for more flexibility. In fact, you could theoretically create an xml configuration file and simulate Combres2 if you really want to.

In terms of minimization, SquishIt is actively developing, which means that if new methods are created to minimize the scenarios, you will most likely be able to use this. It currently supports JSMin, YUI, MS Ajax Minifier, Closure Minifier or even no minifier.

Update 1/18/2012 : There are now many other alternatives besides SquishIt and Combres2. First, Microsoft is creating its own system for the next version of ASP.NET 4.5. Cassette , similar to SquishIt, and RequestReduce , which is completely different from everything else, automatically doing everything for you.

+9
source

I'm a fan of SquishIt .. although Combres and SquishIt both (optional) use the YuiCompressor.NET library (which I am biased for ;-))

As a fan of Justin Etagger, I recommend / use SquishIt .

+2
source

The reasons for one library are better than others (for me) if the end result is NOT an interrupt code and still works .

I have a test and work with Microsoft Ajax Minifier, and I assure you that it works absolutely correctly - it can even minimize the jQuery library without any problems.

http://ajaxmin.codeplex.com/
http://aspnet.codeplex.com/releases/view/40584

documentaion: http://www.asp.net/ajaxlibrary/AjaxMinDocumentation.ashx

Now, if the library turns one year old, this has nothing to do with it, because they are just working on javascript code, which has some standards for several years.

To point out again: the better than the minimal product code that still works with very complex javascript functions such as jQuery one .

One note: a miniature library can minimize the full set of files on one, do not try to minimize one by one and add them to one file, this does not work.

+1
source

Source: https://habr.com/ru/post/1343517/


All Articles