varnish exclude parts

Javier Casares javier at casares.org
Mon Jun 11 19:50:24 CEST 2012


You must use ESI system

https://www.varnish-cache.org/trac/wiki/ESIfeatures

El lunes, 11 de junio de 2012, X.H.R.F.C. escribió:

> Hello,
>
> Is there any way to exclude some webpage parts from cache?
> For example i have an website where i auth users trough openid, provider
> steam and after i finish auth i show some avatar and a logout button - i
> use a cookie to log them in.
> The problem is that i have a lot of pages that will never change in the
> future, but this avatar is on every website page. How can i cache the
> entyre page, except this avatar portion?
> If you can provide some vcl code, i'll appreciate, i'm a complete beginner
> to varnish.
>
>
> Best Regards,
>
>

-- 

Javier Casares
http://javiercasares.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120611/2ff28a63/attachment.html>


More information about the varnish-misc mailing list