mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
docs(storage): document streamed cache load type
This commit is contained in:
@@ -640,6 +640,7 @@ Http::init()
|
||||
new Filesystem($cachePath, true)
|
||||
);
|
||||
$timestamp = 60 * 60 * 24 * 180; // Temporarily increase the TTL to 180 day to ensure files in the cache are still fetched.
|
||||
/* @type resource|false $data */
|
||||
$data = $cache->load($key, $timestamp);
|
||||
|
||||
if (! empty($data) && ! $cacheLog->isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user