always send Vary: Cookie header. fixes #1594

This commit is contained in:
Andreas Gohr 2017-08-27 12:36:09 +02:00
parent 267143863b
commit a69722b37d
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,9 @@ if (!defined('DOKU_E_LEVEL')) {
error_reporting(DOKU_E_LEVEL);
}
// avoid caching issues #1594
header('Vary: Cookie');
// init memory caches
global $cache_revinfo;
$cache_revinfo = array();