Cache parts of pages?
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Oct 24 16:47:10 CEST 2007
In message <20071024143634.GG14097 at emptyhost.emptydomain.de>, Kai Grossjohann w
rites:
>Our web site has a navigation bar on every page with a picture of the
>day in it. Let's say that most pages never change after being created,
>except for the navigation bar.
>
>Is it possible to use Varnish in such a way that the "meat" of every
>page is cached separately from the navbar, and on every request the
>navbar is merged into the "meat" of the page just prior to delivery?
I'm working on it right now, it's called "ESI includes" and allow
you to do exactly that kind of thing.
See:
http://www.w3.org/TR/esi-lang
--
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-misc
mailing list