Is it possible that this is currently *not* possible? (ANY feedback welcome ;)
In the FAQs it says that "In 2.0 and later, pass will handle the request body 
correctly". So someone has implemented passing the request body - is there 
anyone on the list that can put in a feature request, that this also be done 
for fetch mode? Didn't find it in trac :( 
 
 
Possible alternative: is there any way to cache calls made in pass mode?
 
Thx.
Jon
 
 
 


"[email protected]" <[email protected]> hat am 12. 
September 2011 um 10:07 geschrieben:

>
> Hi! 
> I'm afraid I am fairly new to varnish but I have a problem whch I cannot find 
> a solution to anywhere (yet): Varnish is set up to cache GET requests. We 
> have some requests which have so many parameters that we decided to pass them 
> in the body of the request. This works fine when we bypass Varnish but when 
> we go through Varnish (for caching), the request is passed on without the 
> body, so the service behind Varnish fails.
> I know we could use POST, but we want to GET data. I also know that Varnish 
> CAN pass the request body on if we use pass mode but as far as I can see, 
> requests made in pass mode aren't cached. I've already put a hash into the 
> url so that when things work, we will actually get the correct data from 
> cache (as far as the url goes the calls would otherwise all look to be the 
> same).
> The problem now is "just" how to rewrite vcl_fetch to pass on the request 
> body to the webserver? Any hints and tips welcome!
>  
> Thanks in advance
> Jon
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to