Minify

價格:免費

更新日期:2013-12-05

檔案大小:539.2 KB

目前版本:1.0.4

版本需求:OS X 10.8 或以上版本,64 位元處理器

支援語言:英語

Minify(圖1)-速報App

Minify – makes your website faster by combing, minifying and compressing static files like HTML, CSS and JS.

Drag your files or website folder onto Minify, or Minify's dock icon and the application will quickly generate .min and .gz files for your static HTML, CSS and JS files.

Minify(圖2)-速報App

Combing and deploying pre-generated .gz files for your static files is one of the most effective methods to significantly improve the speed at which your website loads.

Combining – When your website has lots of small JS and CSS files your website must make individual requests for each file. Each requests can add 200ms of time to your page load and puts increased load on your website server. While internet connections have got faster, the delay introduced by requesting lots of small files hasn't.

Minifying – Generating .min files for CSS and JS has long been a common way of reducing file size, but the space saving is nothing compared to .gz compression. Minify generates .min files for use when a web browser does not support .gz files. All modern and even older browsers support .gz files.

GZ Compression - Pre-generating compressed versions of your static HTML, CSS and JS files will significantly reduce the size of your files. Where a .min may be 80% the size of the original, a .gz may be 10% or even less. The size reduction makes the difference where your page will load with a snap and makes an even bigger difference when being loaded over wireless internet. Some web-servers will allow your website to automatically generate GZ compressed pages, however this puts increased load on the web-server and pre-generating the .gz files ensures as little load as possible.