Skip to content

Instantly share code, notes, and snippets.

@pnommensen
Created February 7, 2014 17:52
pass large files for varnish
sub vcl_fetch {
# Bypass cache for files > 10 MB
if (std.integer(beresp.http.Content-Length, 0) > 10485760) {
return (hit_for_pass);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment