Skip to content

Commit

Permalink
Update for gatsbyjs#26329
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthachatterjee committed Aug 10, 2020
1 parent 3c3593d commit 11a567c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/gatsby-plugin-offline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,9 @@ const options = {
handler: `CacheFirst`,
},
{
// page-data.json files are not content hashed
urlPattern: /^https?:.*\page-data\/.*\/page-data\.json/,
handler: `StaleWhileRevalidate`,
},
{
// app-data.json is not content hashed
urlPattern: /^https?:.*\/page-data\/app-data\.json/,
// page-data.json files, static query results and app-data.json
// are not content hashed
urlPattern: /^https?:.*\/page-data\/.*\.json/,
handler: `StaleWhileRevalidate`,
},
{
Expand Down

0 comments on commit 11a567c

Please sign in to comment.