Ah great! But what if I only want to cache on some of the cookies. Like a sessionID and ignore the rest?
/Klaus Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Klaus writes: > >> Hello List, >> >> >> Could it be possible to cache pages per cookie values? >> >> Example. >> >> http://www.host.dk/page1?var=value1 (cookie: selection=1,2,3,4) >> > > Yes, just add the cookie header to the hash string in vcl_hash(): > > sub vcl_hash { > set req.hash += req.http.cookie; > } > > > Poul-Henning > > _______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
