diff --git a/lib/contents.php b/lib/contents.php index 5587a98e..c842ccbc 100644 --- a/lib/contents.php +++ b/lib/contents.php @@ -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);