mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
parent
7e4807530e
commit
8e2353ad3e
@ -432,8 +432,6 @@ function getSimpleHTMLDOMCached(
|
|||||||
$content = $cache->loadData($timeout);
|
$content = $cache->loadData($timeout);
|
||||||
if (!$content || Debug::isEnabled()) {
|
if (!$content || Debug::isEnabled()) {
|
||||||
$content = getContents($url, $header ?? [], $opts ?? []);
|
$content = getContents($url, $header ?? [], $opts ?? []);
|
||||||
}
|
|
||||||
if ($content) {
|
|
||||||
$cache->setScope('pages');
|
$cache->setScope('pages');
|
||||||
$cache->setKey([$url]);
|
$cache->setKey([$url]);
|
||||||
$cache->saveData($content);
|
$cache->saveData($content);
|
||||||
|
Loading…
Reference in New Issue
Block a user