bluedogtraining/assetic-extensions

Additonal Filters for Assetic

v1.0.0 2013-02-13 23:44 UTC

README

A repository for assorted extensions to the Assetic library.

Currently only contains a Cachbuster filter.

CachebusterFilter

A simple filter to rewrite CSS URLs to append cachebusting tags to them.

For example, using a filter like:

new CachebusterFilter('v=12345');

will turn

body { background: url(foo.gif); }

into:

body { background: url(foo.gif?v=12345); }

Usage

For information on using Assetic filters, see https://github.com/kriswallsmith/assetic/blob/master/docs/en/concepts.md