Cranking caching back up

This commit is contained in:
Dave Hrycyszyn
2021-12-20 17:25:29 +00:00
parent 0f58fb6437
commit 89cb931775
+1 -1
View File
@@ -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);