From 89cb93177523af5fcaf0cbeddcf695859b5e7e9f Mon Sep 17 00:00:00 2001 From: Dave Hrycyszyn Date: Mon, 20 Dec 2021 17:25:29 +0000 Subject: [PATCH] Cranking caching back up --- explorer/src/api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explorer/src/api/index.ts b/explorer/src/api/index.ts index 808c8bfc5f..f2647e2cc5 100644 --- a/explorer/src/api/index.ts +++ b/explorer/src/api/index.ts @@ -23,7 +23,7 @@ import { function getFromCache(key: string) { const ts = Number(localStorage.getItem('ts')); - const hasExpired = Date.now() - ts > 5000; + const hasExpired = Date.now() - ts > 200000; const curr = localStorage.getItem(key); if (curr && !hasExpired) { return JSON.parse(curr);