Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sub vcl_backend_response {
if (bereq.url ~ "\.(jpe?g|png|gif|pdf|tiff?|css|js|ttf|woff2?|otf|eot|svg)$") {
set beresp.ttl = std.duration(beresp.http.age+"s",0s) + 24h;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment