2017 © Pedro Peláez
 

li3-libraries li3_varnish

Lithium PHP easy ESI varnish caching

image

brandonwestcott/li3_varnish

Lithium PHP easy ESI varnish caching

  • Tuesday, November 27, 2012
  • by brandonwestcott
  • Repository
  • 2 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Lithium PHP Plugin for easy Varnish support

~~~ php Libraries::add('li3_varnish', array( 'development' => array( 'esiUrl' => '/esi', 'defaults' => array( 'esi' => true, 'expire' => '+1 days' ), 'cache' => array( 'SomeController::index' => array( 'expire' => '+2 days', 'esi' => true, ), 'SomeController::show' ), ) ));, (*1)


In the view, you have two options to render items as ESI partials. Either pass in esi = true into the options of a view render, or use the esi helper as a short cut. ~~~ php <?=$this->_render("element", "login", array(), array('esi' => true)); ?> or <?=$this->esi->_render("element", "login"); ?>

The Versions

27/11 2012

dev-master

9999999-dev https://github.com/brandonwestcott/li3_varnish

Lithium PHP easy ESI varnish caching

  Sources   Download

GNU GENERAL PUBLIC LICENSE

The Requires

 

varnish lithium li3 esi

08/11 2012

1.0.1

1.0.1.0 https://github.com/brandonwestcott/li3_varnish

Lithium PHP easy ESI varnish caching

  Sources   Download

GNU GENERAL PUBLIC LICENSE

The Requires

 

varnish lithium li3 esi

12/10 2012

1.0.0

1.0.0.0 https://github.com/brandonwestcott/li3_varnish

Lithium PHP easy ESI varnish caching

  Sources   Download

GNU GENERAL PUBLIC LICENSE

The Requires

 

varnish lithium li3 esi