diff --git a/packages/gatsby-plugin-offline/README.md b/packages/gatsby-plugin-offline/README.md index 4905a9d833843..f95f5561bd45f 100644 --- a/packages/gatsby-plugin-offline/README.md +++ b/packages/gatsby-plugin-offline/README.md @@ -146,9 +146,10 @@ const options = { handler: `CacheFirst`, }, { - // page-data.json files are not content hashed - urlPattern: /^https?:.*\page-data\/.*\/page-data\.json/, - handler: `NetworkFirst`, + // page-data.json files, static query results and app-data.json + // are not content hashed + urlPattern: /^https?:.*\/page-data\/.*\.json/, + handler: `StaleWhileRevalidate`, }, { // Add runtime caching of various other page resources