diff --git a/caches/FileCache.php b/caches/FileCache.php index 58b7928f..261fe0c3 100644 --- a/caches/FileCache.php +++ b/caches/FileCache.php @@ -107,9 +107,6 @@ class FileCache implements CacheInterface { */ protected function getCacheName(){ $this->isPrepareCache(); - - $stringToEncode = $_SERVER['REQUEST_URI'] . http_build_query($this->param); - $stringToEncode = preg_replace('/(\?|&)format=[^&]*/i', '$1', $stringToEncode); - return hash('sha1', $stringToEncode) . '.cache'; + return hash('sha1', http_build_query($this->param)) . '.cache'; } }