mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
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
Block a user