Caching of ESI snippets

Joe Van Dyk joe at fixieconsulting.com
Mon Nov 30 21:28:02 CET 2009


I have two pages /main and /esi.

/main returns:
<esi:include src="/esi" />

/esi has a cache-control of "max-age=60, public" and returns the current time.

I'd expect that when I load /main, /esi would be requested once a
minute.  In a browser, /esi is loaded from the server everytime
(instead of the varnish sending the cached version).  In curl, it all
works as expected.

Ideas?


-- 
Joe Van Dyk
http://fixieconsulting.com



More information about the varnish-dev mailing list