Index: branches/5.1.x/core/kernel/utility/cache.php =================================================================== diff -u -N -r13180 -r13905 --- branches/5.1.x/core/kernel/utility/cache.php (.../cache.php) (revision 13180) +++ branches/5.1.x/core/kernel/utility/cache.php (.../cache.php) (revision 13905) @@ -1,6 +1,6 @@ cachingType == CACHING_TYPE_TEMPORARY) { - return $name; - } - // replace serials in key name if ($replace_serials && preg_match_all('/\[%(.*?)%\]/', $name, $regs)) { // [%LangSerial%] - prefix-wide serial in case of any change in "lang" prefix @@ -227,6 +223,10 @@ } } + if ($this->cachingType == CACHING_TYPE_TEMPORARY) { + return $name; + } + // add site-wide prefix to key return $this->_cachePrefix() . $name; }