bluedogtraining/assetic-extensions

This package is abandoned and no longer maintained. No replacement package was suggested.

Additonal Filters for Assetic

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

This package is not auto-updated.

Last update: 2021-07-09 01:03:45 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