manipulating page content

Tollef Fog Heen tfheen at varnish-software.com
Wed May 12 08:42:06 CEST 2010


]] "Poul-Henning Kamp" 

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

You could always use ESI for it, but apart from that, there's currently
no way to manipulate the content of a page.

-- 
Tollef Fog Heen
Varnish Software
t: +47 21 54 41 73




More information about the varnish-misc mailing list