manipulating page content

Poul-Henning Kamp phk at phk.freebsd.dk
Tue May 11 20:06:13 CEST 2010


In message <AANLkTingZr36QpH8Lv43NLYrYMV2nBv5cGInV5TPeHJp at mail.gmail.com>, Rob 
Brown writes:

>Is it possible for Varnish to "manipulate" the pages that it serves out of
>cache "on the way out" (post-cache)?
>More specifically: I have an app that generates pages with a session key in
>them that I need to strip out to make cacheable, but then put back in based
>on a session key parameter sent in the query string.

If you are talking about headers (cookies ?) then it is possible.

If we are talking about stuffin the body of the object, the anwer is no.

-- 
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