jeroenvdheuve/twig-cache-key-bundle

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

Modifies the twig cache key, to make the cache key the same across multiple directories.

Installs: 3 803

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/jeroenvdheuve/twig-cache-key-bundle

1.0.0 2016-03-09 15:13 UTC

This package is not auto-updated.

Last update: 2023-05-27 19:22:51 UTC


README

Master: Build Status

Description

Makes Twig cache keys relative and therefor reusable across different environments/directory structures.

The default \Symfony\Bundle\TwigBundle\Loader\FilesystemLoader returns an absolute path as cache key. For instance /var/www/project or /home/user/project with the same project content would generate a different cache key.

By removing the absolute part, the cache becomes reusable and cache only need to be generated once.