From d7dbe7fee362d587dfc334135d9581b6216a4295 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 23 Nov 2025 04:13:56 +0000
Subject: [PATCH] =Timeline block, and feed block updated. DataStore.js refactored to not block rendering
---
inc/rest/routes/BioRoutes.php | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/inc/rest/routes/BioRoutes.php b/inc/rest/routes/BioRoutes.php
index a265186..685c0b2 100644
--- a/inc/rest/routes/BioRoutes.php
+++ b/inc/rest/routes/BioRoutes.php
@@ -225,9 +225,7 @@
if (!$this->checkUser($user_id)) {
return [];
}
- //TODO: Check we're clearing this cache
- $key = sprintf('user_%c_thumbnail_data', $user_id);
- $cache = $this->cache->get($key);
+ $cache = $this->cache->get($user_id);
if ($cache) {
return $cache;
}
@@ -261,7 +259,7 @@
'type' => jvbArtistType($link),
];
- $this->cache->set($key, $data);
+ $this->cache->set($user_id, $data);
return $data;
}
--
Gitblit v1.10.0