fix(cache): bug in prior refactor (#3520)

This commit is contained in:
Dag 2023-07-09 15:24:29 +02:00 committed by GitHub
parent dfe78fb379
commit c9a861e259
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -440,6 +440,8 @@ function getSimpleHTMLDOMCached(
$opts ?? []
);
if ($content) {
$cache->setScope('pages');
$cache->setKey([$url]);
$cache->saveData($content);
}
}