jeroenvdheuve / assetic-cached-worker
Assetic cached worker. Caches the assets from another worker.
Installs: 3 816
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- kriswallsmith/assetic: ~1.2
Requires (Dev)
- phpunit/phpunit: >=4,<6
This package is not auto-updated.
Last update: 2024-10-26 19:21:32 UTC
README
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.