Your SlideShare is downloading. ×
0
Edge Side Includes in Zend Framework without Varnish
Edge Side Includes in Zend Framework without Varnish
Edge Side Includes in Zend Framework without Varnish
Edge Side Includes in Zend Framework without Varnish
Edge Side Includes in Zend Framework without Varnish
Edge Side Includes in Zend Framework without Varnish
Edge Side Includes in Zend Framework without Varnish
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Edge Side Includes in Zend Framework without Varnish

2,225

Published on

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

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,225
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
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
  • Transcript

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

    ×