From 7e842dfd5b80d80f5408e5260f69ebfc40540432 Mon Sep 17 00:00:00 2001 From: Sam Logan Date: Tue, 3 Dec 2019 20:39:24 +1000 Subject: [PATCH] fix(gatsby-plugin-offline): Replaced cacheOnly with cacheFirst (#19926) --- packages/gatsby-plugin-offline/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-plugin-offline/README.md b/packages/gatsby-plugin-offline/README.md index aaf1594b5964a..3bcf4e5752209 100644 --- a/packages/gatsby-plugin-offline/README.md +++ b/packages/gatsby-plugin-offline/README.md @@ -143,7 +143,7 @@ const options = { // Use cacheFirst since these don't need to be revalidated (same RegExp // and same reason as above) urlPattern: /(\.js$|\.css$|static\/)/, - handler: `cacheOnly`, + handler: `cacheFirst`, }, { // page-data.json files are not content hashed