Minify

Make your websites fast.

Combine, minify and compress static files.

Download on the Mac App Store Download (1.0.5) Buy Now ($14.99)
Requires Mac OS X 10.8+

Why combine files?

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.

Why compress files?

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.

Why minify files?

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.

Start with your website, and drop it onto Minify

Before dropping onto Minify, change your HTML file's CSS and JS refs to all.min.css and all.min.js.

Minify will combine, minify and compress your files.

Generating .min and .gz files.

Create a .htaccess file for .gz files.

Use a text editor like TextWrangler to create a .htaccess file in the root of your website. Place into this file the following lines which will cause web browser to load the compressed version of your static files.
RewriteEngine On RewriteCond %{HTTP:Accept-Encoding} gzip RewriteCond %{REQUEST_FILENAME}.gz -f RewriteRule ^(.+)$ $1.gz [L]

Minify is sold through more than one app store.

Mac App Store Paddle
Trial 7-days
App Updates Automatic
Available in 1-3 weeks
Manually
Immediately
License Linked to your Apple ID License Code with 10 Activations*
Price $14.99# $14.99
Sold by Apple Paddle
Buy Now Buy Now
* If the license activations are exhausted for your license code, contact Paddle through your Paddle account.
# Pricing on the Mac App Store will vary depending on the region and currency.