2017 © Pedro Peláez
 

library swmcache-twig-extension

Flat Cache part of your content in Twig. Perfect to reduce render() gen time. Twig cache extension that work without dependency.

image

scullwm/swmcache-twig-extension

Flat Cache part of your content in Twig. Perfect to reduce render() gen time. Twig cache extension that work without dependency.

  • Tuesday, February 18, 2014
  • by ScullWM
  • Repository
  • 1 Watchers
  • 2 Stars
  • 49 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SwmCache-Twig-Extension

Flat Cache part of your content in Twig. Perfect to reduce render() gen time. Twig cache extension that work without dependency., (*1)

Total Downloads, (*2)

Why

Couldn't find a simple twig cache extension that don't need many libs. Here it just use the Twig Cache Folder, (*3)

Installation

The extension is installable via composer:, (*4)

{
    "require": {
        "scullwm/swmcache-twig-extension": "dev-master"
    }
}

Usage

addExtension(new SwmCacheTwig());
?>

How to use ?

    {% swmcache 'ephemeride' '3600' %}
        {{ render(url('page_ephemeride')) }}
    {% endswmcache %}

Todo

  • Write tests

The Versions

18/02 2014

dev-master

9999999-dev https://github.com/ScullWM/SwmCache-Twig-Extension

Flat Cache part of your content in Twig. Perfect to reduce render() gen time. Twig cache extension that work without dependency.

  Sources   Download

The Requires

 

20/01 2014

dev-dev

dev-dev https://github.com/ScullWM/SwmCache-Twig-Extension

Flat Cache with Twig

  Sources   Download

The Requires