You can use the obj.cacheable property, which is a suggestion from Varnish about the response should be cacheable. By default Error response codes aren't cached, so test the following:<br><br>sub vcl_fetch {<br><div style="margin-left: 40px;">
if (!obj.cacheable){<br><div style="margin-left: 40px;">return (pass);<br></div>}<br></div>}<br>