Skip to content

Instantly share code, notes, and snippets.

@pglombardo
Created July 13, 2012 15:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pglombardo/3105378 to your computer and use it in GitHub Desktop.
Save pglombardo/3105378 to your computer and use it in GitHub Desktop.
Varnish check for existing cookie
# Don't serve cached pages for logged in users
if (req.http.Cookie ~ "logged_in_cookie=") {
return(pass);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment