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
1 changed files with 2 additions and 0 deletions

View File

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