docs(storage): restore cache mtime refresh comment

This commit is contained in:
Torsten Dittmann
2026-05-08 16:11:58 +04:00
parent 71c11f34e1
commit 7f1e643f0b
+1 -1
View File
@@ -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);
}