mirror of https://github.com/danoloan10/rss-bridge
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