Don't cache html pages

This commit is contained in:
Alex 2020-06-07 16:13:10 +02:00
parent 2182ef94d9
commit cdf0cbfcf2
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ sub vcl_pipe {
return (pipe);
}
sub vcl_backend_response {
if (beresp.http.Cache-Control ~ "private") {
if (beresp.http.Cache-Control ~ "private" || beresp.http.Content-Type == "text/html") {
return (pass);
}
if (beresp.http.ETag || beresp.http.Last-Modified) {