License: LGPL
Categories: PHP, Javascript
download

MoxieCompressor

MoxieCompressor is some PHP classes for compressing JavaScript and CSS files using gzip. It will compress multiple files into one big minified and gzip compressed request. It will also set a far future expires header so it remains in browser cache for a long time. This will dramatically improve site performance since the download size will reduced by 50-75% it will also reduce the number of requests needed.

Features

  • Server diskcache. Reduces CPU load on server.
  • Basic minification. Remove comments and whitespace.
  • Gzip compression. Will check accept headers etc.
  • Far future expiration date. Places files in long time client cache.
  • IE Patch. Fixes an bug with gzip compression on some older IE versions.
  • Auto convert URLs for CSS relative URLs like background images.

News