if (HTTP_ENABLE_NO_CACHE_HEADERS && !WCF::getSession()->spiderID) {
self::sendNoCacheHeaders();
}
+ else if (!empty($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') !== false) {
+ // Firefox serves pages from cache, causing certain HTML elements to stay in an outdated state
+ @header('Cache-Control: no-store');
+ }
if (HTTP_ENABLE_GZIP && HTTP_GZIP_LEVEL > 0 && HTTP_GZIP_LEVEL < 10 && !defined('HTTP_DISABLE_GZIP')) {
if (function_exists('gzcompress') && !@ini_get('zlib.output_compression') && !@ini_get('output_handler') && isset($_SERVER['HTTP_ACCEPT_ENCODING']) && strstr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) {