From 94e2256da234d535e88172ce325c89e7cb69fc6e Mon Sep 17 00:00:00 2001 From: lgenzelis Date: Thu, 16 Jul 2020 23:24:10 -0300 Subject: [PATCH] fix: wrong cache type (#688) [skip ci] Co-authored-by: Lucas Genzelis --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 722e7286d..ade83bdcf 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -31,7 +31,7 @@ const priority = { high: 'high', } as const -type Cache = 'low' | 'normal' | 'high' +type Cache = 'immutable' | 'web' | 'cacheOnly' const cacheControl = { // Ignore headers, use uri as cache key, fetch only if not in cache.