Skip to content

Commit

Permalink
fix(gatsby-plugin-offline): Replaced cacheOnly with cacheFirst (#19926)
Browse files Browse the repository at this point in the history
  • Loading branch information
samlogan authored and m-allanson committed Dec 3, 2019
1 parent dd222d5 commit 7e842df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-offline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e842df

Please sign in to comment.