Completly skip cache with ranges, varnish is very retarded and cannot handle weird ranges which are totally reasonable
This commit is contained in:
parent
74cb825acb
commit
7d59c25676
|
@ -23,6 +23,9 @@ sub vcl_recv {
|
||||||
if (req.http.Upgrade ~ "(?i)websocket") {
|
if (req.http.Upgrade ~ "(?i)websocket") {
|
||||||
return (pipe);
|
return (pipe);
|
||||||
}
|
}
|
||||||
|
if (req.http.Range) {
|
||||||
|
return (pass);
|
||||||
|
}
|
||||||
if (req.method == "GET" || req.method == "HEAD") {
|
if (req.method == "GET" || req.method == "HEAD") {
|
||||||
return (hash);
|
return (hash);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue