Hi, Jérôme. VCL can't access the POST data. But, VMOD can do it.
--vmod-parsereq https://github.com/xcir/libvmod-parsereq --vcl import parsereq; sub vcl_recv{ parsereq.init(); } sub vcl_hash{ hash_data(parsereq.post_header("hogehoge")); } Hope this helps, -- Syohei Tanaka(@xcir) http://xcir.net/ (:3[__]) 2012/8/27 Jérôme Loyet <[email protected]>: > Hello varnish-misc, > > I want to cache POST requests and add the post content to the hash in > vcl_hash: is it possible with varnish 3 ? > > Thanks for the answer. > > ++ Jerome > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
