16 lines
312 B
Plaintext
16 lines
312 B
Plaintext
sub vcl_recv {
|
|
|
|
# default request, not handled by a specific vhost config
|
|
|
|
# uncomment to bypass cache entirely by default
|
|
# return (pass);
|
|
|
|
# use this for default varnish config
|
|
if (req.http.Cookie) {
|
|
/* Not cacheable by default */
|
|
return (pass);
|
|
}
|
|
return (hash);
|
|
|
|
}
|