aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ActivityStreams.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-01-28 17:03:05 +0000
committerMario <mario@mariovavti.com>2024-01-28 17:03:05 +0000
commit09465619e53c9c0a04ee73cecc3fc2d87ee74d55 (patch)
tree1de11b57339b770c4fffc166c0feb7fb702a4cb5 /Zotlabs/Lib/ActivityStreams.php
parent390af7722df44dbfe4754f6814940d90774f5d15 (diff)
downloadvolse-hubzilla-09465619e53c9c0a04ee73cecc3fc2d87ee74d55.tar.gz
volse-hubzilla-09465619e53c9c0a04ee73cecc3fc2d87ee74d55.tar.bz2
volse-hubzilla-09465619e53c9c0a04ee73cecc3fc2d87ee74d55.zip
enable object cash by default, introduce system.cache_expire_days and default to 7, default system.default_expire_days to 30 and system.active_expire_days to 7
Diffstat (limited to 'Zotlabs/Lib/ActivityStreams.php')
-rw-r--r--Zotlabs/Lib/ActivityStreams.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ActivityStreams.php b/Zotlabs/Lib/ActivityStreams.php
index 3749126d3..b37efdd26 100644
--- a/Zotlabs/Lib/ActivityStreams.php
+++ b/Zotlabs/Lib/ActivityStreams.php
@@ -405,9 +405,11 @@ class ActivityStreams {
if ($this->is_url($x)) {
$cached = ASCache::Get($x);
if ($cached) {
+ // logger('AS cached: ' . $x);
$y = unserialise($cached);
}
else {
+ // logger('AS fetching: ' . $x);
$y = $this->fetch_property($x);
if ($y) {
ASCache::Set($x, serialise($y));