BACK TO DIRECTORY

Minify

by Scott Taylor

3.7
(3 ratings)

Similar to what we use on eMusic – this software is still experimental, but take a look!

Automagically concatenates JS and CSS files that are output in wp_head() and wp_footer() – stores / serves them from Memcached (if installed) or Database. In a load-balanced environment, the generation of flat files can be expensive and hard to distribute. Minify takes advantage of Memcached and Site Options / Transients to do the work once and share it among all servers in your cluster. File names are dynamically-generated to allow cache-busting of a CDN like Akamai that doesn’t always cache-bust by query string.

New .htaccess rule!
RewriteRule ^([_0-9a-zA-Z-]+)?/?wp-content/cache/minify-(.+)-(.*).(css|js)$ /wp-content/plugins/minify/make.php?hash=$2&type=$4&incr=$3&site=$1 [L]

Plugin Details

Active Installs
10
Total Downloads
20,196
Version
0.2
Requires WP
3.0
Requires PHP
Tested Up To
3.4.2
Added
2012-05-24
Last Updated
2012-09-02 5:57am GMT

Ratings

5
2
4
0
3
0
2
0
1
1