mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-28 10:30:12 +02:00
fix: rewrite and improve caching (#3594)
This commit is contained in:
@@ -117,7 +117,7 @@ The default URI shows the Madara demo page.';
|
||||
protected function getMangaInfo($url)
|
||||
{
|
||||
$url_cache = 'TitleInfo_' . preg_replace('/[^\w]/', '.', rtrim($url, '/'));
|
||||
$cache = $this->loadCacheValue($url_cache, 86400);
|
||||
$cache = $this->loadCacheValue($url_cache);
|
||||
if (isset($cache)) {
|
||||
return $cache;
|
||||
}
|
||||
|
Reference in New Issue
Block a user