We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fc269e commit 75ab9b8Copy full SHA for 75ab9b8
packages/gatsby-plugin-offline/src/gatsby-node.js
@@ -139,13 +139,9 @@ exports.onPostBuild = (
139
handler: `CacheFirst`,
140
},
141
{
142
- // page-data.json files are not content hashed
143
- urlPattern: /^https?:.*\page-data\/.*\/page-data\.json/,
144
- handler: `StaleWhileRevalidate`,
145
- },
146
- {
147
- // app-data.json is not content hashed
148
- 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/,
149
handler: `StaleWhileRevalidate`,
150
151
0 commit comments