--- class.tslib_fe.php 2006-11-03 01:13:38.000000000 +0100 +++ class.tslib_fe.php.new 2006-11-03 01:22:18.000000000 +0100 @@ -2903,11 +2903,20 @@ // This variable will be TRUE unless cache headers are configured to be sent ONLY if a branch does not allow logins and logins turns out to be allowed anyway... $loginsDeniedCfg = !$this->config['config']['sendCacheHeaders_onlyWhenLoginDeniedInBranch'] || !$this->loginAllowedInBranch; + // check if this page is explicitly excluded from cache control headers + $excludedPages = explode(',', $this->config['config']['sendCacheHeaders_excludePages']); + foreach ($excludedPages as $value) { + if ($value == $this->id) { + $PageIsExcluded = true; + } + } + // Finally, when backend users are logged in, do not send cache headers at all (Admin Panel might be displayed for instance). if ($doCache && !$this->beUserLogin && !$this->doWorkspacePreview() - && $loginsDeniedCfg) { + && $loginsDeniedCfg + && !$PageIsExcluded) { // Build headers: $headers = array(