<div dir="ltr">Hello,<div><br></div><div>I'm using varnish 4.1</div><div>I have a little problem I don't know how to solve. </div><div><br></div><div>In vcl_recv I have some rules with a return(pass) :</div><div>- if cookie "connected" exist</div><div>- for some image</div><div><br></div><div>But some url, for exemple an image, has 301 redirect. I want to cache this 301 even if I have a return(pass) in vcl_recv.</div><div>I want this 301 be cached for everyone because it's not necessary to send request to the backend.</div><div>It's the same for 404.</div><div><div><div><div><font color="#3366ff"></font> </div><div>Is it possble ? and how to do it ? </div><div><br></div><div>thank you</div><div><b><font color="#3366ff"></font></b> </div><div><b><font color="#3366ff">Nicolas Delmas</font></b></div><div><a href="mailto:colas.delmas@gmail.com" target="_blank">colas.delmas@gmail.com</a></div></div></div>
</div></div>