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,321
-1

Published on

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

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,321
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Introduce yourself- Have people worked with Varnish
  • What are edge site includesTTL- useful for creating uncached content in a cache page
  • Not every developer knows varnish- not every one is on a linux or mac-
  • - plain php code- no need for extra software- mimics the behaviour- perfect solution for just the development environment
  • 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 />
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×