Accept cache-control headers

This commit is contained in:
Alex 2020-06-02 23:23:24 +02:00
parent 1e18560a7e
commit 2182ef94d9
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ sub vcl_recv {
if (req.http.Upgrade ~ "(?i)websocket") {
return (pipe);
}
if (req.http.range) {
if (req.http.range || req.http.cache-control == "no-cache") {
return (pass);
}
if (req.method == "GET" || req.method == "HEAD") {