From 2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99 Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Wed, 13 Dec 2017 16:06:06 -0500 Subject: Bug 1376826 - New HTML Header for BMO --- index.cgi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'index.cgi') diff --git a/index.cgi b/index.cgi index 63865f908..6635ef50a 100755 --- a/index.cgi +++ b/index.cgi @@ -27,8 +27,9 @@ my $vars = {}; # Yes, I really want to avoid two calls to the id method. my $user_id = $user->id; -# We only cache unauthenticated requests now, because invalidating is harder for logged in users. -my $can_cache = $user_id == 0; +# Disable content caching by browser because there will be different items on the global navigation +# before and after signed in. +my $can_cache = 0; # And log out the user if requested. We do this first so that nothing # else accidentally relies on the current login. -- cgit v1.2.3-24-g4f1b