mirror of https://github.com/danoloan10/rss-bridge
parent
7e4807530e
commit
8e2353ad3e
|
@ -432,8 +432,6 @@ function getSimpleHTMLDOMCached(
|
|||
$content = $cache->loadData($timeout);
|
||||
if (!$content || Debug::isEnabled()) {
|
||||
$content = getContents($url, $header ?? [], $opts ?? []);
|
||||
}
|
||||
if ($content) {
|
||||
$cache->setScope('pages');
|
||||
$cache->setKey([$url]);
|
||||
$cache->saveData($content);
|
||||
|
|
Loading…
Reference in New Issue