bluedogtraining / assetic-extensions
Additonal Filters for Assetic
Installs: 337
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 14
Forks: 0
Open Issues: 0
pkg:composer/bluedogtraining/assetic-extensions
Requires
- php: >=5.3.0
- kriswallsmith/assetic: 1.*
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