ESI and Caching

Paul A. Procacci pprocacci at datapipe.com
Sat Oct 13 04:08:28 CEST 2012


On Fri, Oct 12, 2012 at 03:22:07PM +0530, linuxsupport wrote:
>    Hi All,
>    I have an application which sends cookie, home page has 75% static
>    contents and 25% dynamic.
>    is there a way to cache the static part of the page while get the
>    dynamic contents using ESI.
>    I know if application does not send cookie then there is no problem,
>    but cookie is important in our case.
>    Please suggest what possible way it can be achieve.
>    Thanks

If a cookie exists, don't pass it, and `return (lookup)`?

The vcl is pretty clear about passing requests with cookies to the
backend, but your vcl can be modified quite easily change this function-
ality.

Perhaps I'm not completely understanding the question.

~Paul

________________________________

This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/legal/email_disclaimer/ for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you.



More information about the varnish-misc mailing list