i am using the gatsby netlify plugin like this:
resolve: `gatsby-plugin-netlify`,
options: {
headers: {
"/*.js": [
"cache-control: public, max-age=31536000, immutable",
],
"/*.css": [
"cache-control: public, max-age=31536000, immutable",
],
"/sw.js": [
"cache-control: public, max-age=0, must-revalidate",
],
},
},
},
However, when i publish an update to the site, the browser doesnt see it until 'refresh' is manually hit. simply visiting the site (without hitting refresh) shows the old version.