Caching of ESI snippets

Poul-Henning Kamp phk at
Mon Nov 30 21:41:58 CET 2009

In message <c715e640911301228v128b6b10p3e4fd427d76fd07e at>, Joe Va
n Dyk writes:
>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.

You browser sends cookies along ?

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-dev mailing list