mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 17:19:37 +00:00
Merge branch 'ImproveFileCaching' of https://github.com/logmanoriginal/rss-bridge
This commit is contained in:
commit
4959334f9f
@ -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';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user