filters - markstory/asset_compress GitHub Wiki

Asset Compress comes with several built-in filters. Filters are used to transform assets before and/or after they are concatenated together. Filters allow you to connect pre-processors like CoffeeScript, or LessCSS, as well as add minifiers like YUICompressor, or UglifyJs into your application. Filters are configured in the Configuration file.

A note about compression filters

Compression filters e.g. CssMinFilter, JsMinFilter etc. will only compress the output when debug is off in your application. Update config/app.php or config/app_local.php and use bin/cake asset_compress build to test compression filters.

Built in filters

AssetCompress inherits its filter catalog from mini-asset. See the mini-asset filter documentation for the available filters and their options.