diff --git a/caches/FileCache.php b/caches/FileCache.php index 2dc506b3..b6e04c37 100644 --- a/caches/FileCache.php +++ b/caches/FileCache.php @@ -88,6 +88,7 @@ class FileCache extends CacheAbstract{ $this->isPrepareCache(); $stringToEncode = $_SERVER['REQUEST_URI'] . http_build_query($this->param); + $stringToEncode = preg_replace('/(\?|&)format=[^&]*/i', '$1', $stringToEncode); return hash('sha1', $stringToEncode) . '.cache'; } }