Skip to content

Commit c9a861e

Browse files
authored
fix(cache): bug in prior refactor (#3520)
1 parent dfe78fb commit c9a861e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/contents.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,8 @@ function getSimpleHTMLDOMCached(
440440
$opts ?? []
441441
);
442442
if ($content) {
443+
$cache->setScope('pages');
444+
$cache->setKey([$url]);
443445
$cache->saveData($content);
444446
}
445447
}

0 commit comments

Comments
 (0)