• Geoff Simmons's avatar
    Evaluate Ingress rules in vcl_backend_fetch. · ae09f859
    Geoff Simmons authored
    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.
    ae09f859
vcl_tmpl.go 7.49 KB