Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Edge Side Includes in Zend Framework without Varnish<br />Dutch PHP Conference<br />12 juni 2010<br />Jeroen van Dijk – 4w...
Edge Site Includes<br /><ul><li>Snippets of content
Can have different lifetimes
Re-usable
Embedded in markuplanguageusingtag</li></ul><esi:includesrc=“/path/to/content” /><br />
DEVELOPING WITHOUT VARNISH<br /><ul><li>ESI tags are notparsed
Missing User Interface parts
Upcoming SlideShare
Loading in …5
×

Edge Side Includes in Zend Framework without Varnish

2,984 views

Published on

A short presentation to trick the development environment to mimic the behaviour of Varnish Edge Side Includes (ESI)

Published in: Technology
  • Login to see the comments

  • Be the first to like this

Edge Side Includes in Zend Framework without Varnish

  1. 1. Edge Side Includes in Zend Framework without Varnish<br />Dutch PHP Conference<br />12 juni 2010<br />Jeroen van Dijk – 4worx<br />
  2. 2. Edge Site Includes<br /><ul><li>Snippets of content
  3. 3. Can have different lifetimes
  4. 4. Re-usable
  5. 5. Embedded in markuplanguageusingtag</li></ul><esi:includesrc=“/path/to/content” /><br />
  6. 6. DEVELOPING WITHOUT VARNISH<br /><ul><li>ESI tags are notparsed
  7. 7. Missing User Interface parts
  8. 8. Notpossibleon Windows environment</li></li></ul><li>SOLUTION<br /><ul><li>ZF controller plugin
  9. 9. Replace body content ondispatch loop shutdown
  10. 10. Cache the snippets respecting the max-ageheader</li></li></ul><li>DETECTION OF ESI SNIPPETS<br />
  11. 11. REPLACING AND CACHING<br />
  12. 12. Thank you<br />Jeroen van Dijk – jeroen@4worx.com<br />Twitter: neorey<br />LinkedIn: http://nl.linkedin.com/in/jrvandijk<br />Website: http://www.4worx.com<br />

×