2017 © Pedro Peláez
 

symfony-bundle twig-cache-key-bundle

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

image

jeroenvdheuve/twig-cache-key-bundle

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

  • Wednesday, March 9, 2016
  • by jeroenvdheuvel
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3,793 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

README

Master: Build Status, (*1)

Description

Makes Twig cache keys relative and therefor reusable across different environments/directory structures., (*2)

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., (*3)

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

The Versions

09/03 2016

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeroen van den Heuvel

cache cache key twig relative cache key

09/03 2016

1.0.0

1.0.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeroen van den Heuvel

cache cache key twig relative cache key