Choosing the Best Online CSS Compression Service

css compression


Currently, there are a huge number of web tools for optimizing CSS files. Most of them have their own work algorithm (there are, of course, duplicates). The effectiveness of the programs themselves is also significantly different. In addition, some optimizers can “break” CSS code, after which the styles become invalid. As practice shows, the percentage of such “useful” tools is quite high.

This article is a report on the testing of the most popular online optimizers. The experiment was conducted on 3 CSS files. Links to each of them are given in the table of results.

The main goal of the work is a comparative description of services according to the main indicator (compression ratio). The presence of various settings, usability and other secondary factors were not taken into account.

It is worth saying that 6 out of 17 reviewed optimizers did not cope with the task. Results that did not pass validation after compression are indicated by a dash.
CSS file linkwww.kartinki24.ru/templates/kartinki/style/styles.cssgidonline.club/wp-content/themes/gidonline/style25.cssspb.azbyka.net/views/azbyka/css/style.cssWed result after compression,%
Original size, KB21.4926,2023.18
ServiceResults, KB
askapache.com/online-tools/compress-css18.5524.2323.1793.06
cleancss.com/css-minify18.0123.6722.3890.39
codebeautifier.com----
creativyst.com/Prod/320.58-23.18-
css-school.ru/optimiser16.9523.00--
csscompressor.com17.7723.4622.3289.67
cssdrive.com/index.php/main/csscompressor18.0223.6622.3790.38
cssportal.com/css-optimize19.2926,2023.1896.9
cssresizer.com17.0720,2022.3584.13
cy-pr.com/tools/css16.7922.98--
iceyboard.no-ip.org/projects/css_compressor-22.75--
lotterypost.com/css-compress.aspx17.7823,4322.3189.63
pagecolumn.com/tool/css_compressor.htm18.0723.66--
partnerki-runeta.ru/css-optimized18.0923.6722.3890.5
phpinsider.com/compress_css.php19.2925.4422.3894.69
prohtml.net/services/css-min18.3624.2722.3791.72
refresh-sf.com16.8721.1822.1985

As we see, it is impossible to single out a leader unequivocally. In each of the 3 tests, the minimum size was achieved using different services. However, if we consider the average result, then with a sufficiently large margin, 2 tools stand out:
  1. cssresizer.com (84.13%);
  2. refresh-sf.com (85%).

The bronze medalist ”was csscompressor.com , with the result (89.67%). Other programs were able to reduce the size of the styles by no more than 10%.

Also popular now: