Skip to content
This repository has been archived by the owner on Apr 25, 2018. It is now read-only.

Commit

Permalink
Merge pull request #89 from GoogleChrome/no-cache-header-for-sw
Browse files Browse the repository at this point in the history
Disables HTTP caching for our /sw.js file.
  • Loading branch information
jeffposnick committed Aug 2, 2017
2 parents eed46b0 + 6bbad5b commit f6e3f43
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"hosting": {
"public": "build-prod",
"headers": [{
"source" : "/sw.js",
"headers" : [{
"key" : "Cache-Control",
"value" : "no-cache"
}]
}],
"redirects": [{
"source" : "/get-started/webpack",
"destination" : "/get-started/webpack.html",
Expand Down

0 comments on commit f6e3f43

Please sign in to comment.