From e6ad8b04c7208c1fe5e85c1bf9d824a6b3d80aba Mon Sep 17 00:00:00 2001 From: Caxseii Date: Sun, 18 Feb 2024 22:53:37 -0300 Subject: [PATCH] Cache changes, testing --- pages/api/get-user-info/[id].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/get-user-info/[id].ts b/pages/api/get-user-info/[id].ts index 8988dc8..70ce710 100644 --- a/pages/api/get-user-info/[id].ts +++ b/pages/api/get-user-info/[id].ts @@ -113,7 +113,7 @@ export default async function handler( }; if (response) { - res.setHeader('Cache-Control', 's-maxage=10, stale-while-revalidate') + res.setHeader('Cache-Control', 's-maxage=20, stale-while-revalidate') res.status(200).json(response); } }