mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
refactor(storage): rely on cache load for streamed hits
This commit is contained in:
@@ -718,8 +718,6 @@ Http::init()
|
||||
$authorization->skip(fn () => $dbForProject->updateDocument('cache', $cacheLog->getId(), new Document([
|
||||
'accessedAt' => DateTime::now(),
|
||||
])));
|
||||
// Refresh the filesystem file's mtime so TTL-based expiry in cache->load() stays valid
|
||||
\touch($cachePath . DIRECTORY_SEPARATOR . $key);
|
||||
}
|
||||
|
||||
$response
|
||||
|
||||
Reference in New Issue
Block a user