From 7f1e643f0be8121bcb647c9fea650acd9717fed1 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Fri, 8 May 2026 16:11:58 +0400 Subject: [PATCH] docs(storage): restore cache mtime refresh comment --- app/controllers/shared/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index 53e85cbc9f..1485688162 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -724,7 +724,7 @@ Http::init() if ($cachedPayload === false) { throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Failed to read cached response stream'); } - // Overwrite the file every APP_CACHE_UPDATE seconds to update the file modified time that is used in the TTL checks in cache->load() + // Refresh the filesystem file's mtime so TTL-based expiry in cache->load() stays valid $cache->save($key, $cachedPayload); }