I\'m using create-react-app with an express server.
create-react-app has a pre-configured ServiceWorker that caches local assets (https://github.com/fac
create-react-app
ServiceWorker supported MIME type are 'text/javascript', application/javascript and application/x-javascript. go to your server file and set
response.writeHead(201, { 'Content-Type': 'application/javascript' });