underlords-web
underlords-web copied to clipboard
The browser cache doesn't refresh after an app update
for netlify and main url
Might have to do with the PWA @albertcui
So I kind of fixed this in https://github.com/odota/underlords-web/commit/683fe70150c03315e828e0ddc87107a3eb67d32c.
The service worker generated by CRA is default cache first, so the current behavior is the best we can do: page loads then user gets a prompt to update the page.
Once https://github.com/facebook/create-react-app/pull/5369 is merged we can change this to online first.