From 7d59c25676a220efe983d225d07b278423f25a2e Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 27 Mar 2020 01:14:55 +0100 Subject: [PATCH] Completly skip cache with ranges, varnish is very retarded and cannot handle weird ranges which are totally reasonable --- build/Varnish/varnish.vcl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/Varnish/varnish.vcl b/build/Varnish/varnish.vcl index f719fe8..99d67b8 100644 --- a/build/Varnish/varnish.vcl +++ b/build/Varnish/varnish.vcl @@ -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); }