Last active
February 12, 2016 18:55
-
-
Save dennisblume/06e54a3351ad0f875d0f to your computer and use it in GitHub Desktop.
No caching for logged-in WordPress user and commenters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub vcl_recv { | |
. | |
. | |
. | |
if ( req.http.cookie ~ "comment_author_" || req.http.Cookie ~ "wordpress_logged_in_" ) { | |
return( pass ); | |
} | |
. | |
. | |
. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment