From c9a861e2595710e479d1c3b81591f743f15cd566 Mon Sep 17 00:00:00 2001 From: Dag Date: Sun, 9 Jul 2023 15:24:29 +0200 Subject: [PATCH] fix(cache): bug in prior refactor (#3520) --- lib/contents.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/contents.php b/lib/contents.php index c7b74242..56dd4be6 100644 --- a/lib/contents.php +++ b/lib/contents.php @@ -440,6 +440,8 @@ function getSimpleHTMLDOMCached( $opts ?? [] ); if ($content) { + $cache->setScope('pages'); + $cache->setKey([$url]); $cache->saveData($content); } }