From eaee7d0899c582afe1b2a327777c1906368c1624 Mon Sep 17 00:00:00 2001 From: Jeff Posnick Date: Mon, 31 Jul 2017 13:37:01 -0400 Subject: [PATCH] Disables HTTP caching for our /sw.js file. --- firebase.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/firebase.json b/firebase.json index 8b0beff..4445709 100644 --- a/firebase.json +++ b/firebase.json @@ -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",