mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-16 23:29:56 +03:00
fix(cache): bug in prior refactor (#3520)
This commit is contained in:
parent
dfe78fb379
commit
c9a861e259
1 changed files with 2 additions and 0 deletions
|
@ -440,6 +440,8 @@ function getSimpleHTMLDOMCached(
|
||||||
$opts ?? []
|
$opts ?? []
|
||||||
);
|
);
|
||||||
if ($content) {
|
if ($content) {
|
||||||
|
$cache->setScope('pages');
|
||||||
|
$cache->setKey([$url]);
|
||||||
$cache->saveData($content);
|
$cache->saveData($content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue