Completly skip cache with ranges, varnish is very retarded and cannot handle weird ranges which are totally reasonable

This commit is contained in:
Alex 2020-03-27 01:14:55 +01:00
parent 74cb825acb
commit 7d59c25676
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ sub vcl_recv {
if (req.http.Upgrade ~ "(?i)websocket") {
return (pipe);
}
if (req.http.Range) {
return (pass);
}
if (req.method == "GET" || req.method == "HEAD") {
return (hash);
}