Don't cache html pages
This commit is contained in:
parent
2182ef94d9
commit
cdf0cbfcf2
@ -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) {
|
||||
|
Reference in New Issue
Block a user