jeroenvdheuve/assetic-cache-busting-worker

Assetic cache busting worker. Adds a hash to the filename based on file content.

1.0.0 2015-07-20 08:41 UTC

This package is not auto-updated.

Last update: 2024-11-09 18:20:35 UTC


README

Master: Build Status

Description

This library provides an easy way to bust file cache for assetic. When this worker is hooked-up this worker will add a hash to the file name based on the file content. When the file content changes the hash changes as well.

This can be setup in Symfony by adding the worker like this:

services:
     cache_busting:
         class: jvdh\AsseticWorker\CacheBustingWorker
         tags:
             - { name: assetic.factory_worker }