jeroenvdheuve/assetic-cached-worker

Assetic cached worker. Caches the assets from another worker.

1.0.0 2016-03-09 07:33 UTC

This package is not auto-updated.

Last update: 2024-12-21 20:14:01 UTC


README

Master: Build Status

Description

Assetic worker caches assets from other workers. The worker is able to cache AssetCollectionInterface and AssetInterface objects.

Caching assets can be helpful when the assets are reused multiple times. For instance by twig templates with dynamic assets like css files contain a hash filename that is a sum of the content. When a single asset is used multiple times the filename is compiled multiple times to get the sum. By using the cached worker the css file is cached, only the sum is calculated each time.