Evaluate Ingress rules in vcl_backend_fetch.
This is possible now that we are using Varnish versions that support return(error(404)) from the backend side. It eliminates unnecessary computation when a request leads to a cache hit or synthetic response. It also simplifies the generated VCL code, since the evaluation happens in one place, rather than in each of hit, miss, pass and pipe.
Showing
Please register or sign in to comment