<div dir="ltr"><div><div><div><div><div><div>Hello!<br><br></div>I am dealing with Varnish 4 piping requests to a backend server. The backend server processes the request and redirects to Amazon S3 to serve the actual file.<br><br></div>So in short :<br><br></div>Request -> Varnish -> Nginx 302 Redirect -> Amazon S3 file<br><br></div>Varnish is happily caching the 302 response only, but I'm curious if I can somehow follow the redirect and cache the destination file completely? This will alleviate load off the nginx server obviously. <br><br></div>I've seen several topics dance around this issue but I'm curious if osmeone can point me in the right direction!<br><br></div>Thanks<br clear="all"><div><div><div><div><div><div><div><div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>--<br><br><br></div>StackStar Managed Hosting Services : <a href="https://www.stackstar.com" target="_blank">https://www.stackstar.com</a><br></div>Shift8 Web Design in Toronto : <a href="https://www.shift8web.ca" target="_blank">https://www.shift8web.ca</a><br></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div>