From a80b9219276c5cc86e09e73855b13fa6aa4f50b1 Mon Sep 17 00:00:00 2001 From: shimon Date: Mon, 14 Oct 2024 16:21:23 +0300 Subject: [PATCH] debug --- app/controllers/shared/api.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index 952ab8b49e..27504d33ab 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -507,8 +507,7 @@ App::init() throw new Exception(Exception::STORAGE_FILE_NOT_FOUND); } } - $timerEnd= \microtime(true); - var_dump('Timer: ' . $timerEnd - $timerStart); + $response ->addHeader('Expires', \date('D, d M Y H:i:s', \time() + $timestamp) . ' GMT') ->addHeader('X-Appwrite-Cache', 'hit')