diff options
Diffstat (limited to 'index.cgi')
-rwxr-xr-x | index.cgi | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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. |