Skip to content

Commit

Permalink
Don't cache service worker file
Browse files Browse the repository at this point in the history
facebook/create-react-app#2440

This should resolve an issue where `index.html` is cached and pointing
at an invalid JavaScript bundle.
  • Loading branch information
BlakeWilliams committed Feb 13, 2018
1 parent d288d6f commit af8127a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/_headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/service-worker.js
Cache-Control: no-cache
Max-Age: 0

0 comments on commit af8127a

Please sign in to comment.