shm_user breaks varnish cache
This commit is contained in:
parent
c46f03bf8f
commit
52bbb36af4
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class UserPage extends SimpleExtension {
|
|||
}
|
||||
else if($event->get_arg(0) == "logout") {
|
||||
set_prefixed_cookie("session", "", time()+60*60*24*$config->get_int('login_memory'), "/");
|
||||
if(CACHE_HTTP) {
|
||||
if(CACHE_HTTP || SPEED_HAX) {
|
||||
# to keep as few versions of content as possible,
|
||||
# make cookies all-or-nothing
|
||||
set_prefixed_cookie("user", "", time()+60*60*24*$config->get_int('login_memory'), "/");
|
||||
|
|
Reference in a new issue