You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup a service worker in order to provide a way for the client to check if a new version of the app has been deployed and show a notification to the user saying they should refresh the page.
However, when I setup the service worker, the build always throws the following error:
From my understanding there is no way to change maximumFileSizeToCacheInBytes without ejecting? If that is the case, is there a way that I can disable precaching as I don't need that in order to provide the functionality mentioned above?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to setup a service worker in order to provide a way for the client to check if a new version of the app has been deployed and show a notification to the user saying they should refresh the page.
However, when I setup the service worker, the build always throws the following error:
From my understanding there is no way to change
maximumFileSizeToCacheInBytes
without ejecting? If that is the case, is there a way that I can disable precaching as I don't need that in order to provide the functionality mentioned above?Any help is appreciated, thanks.
Beta Was this translation helpful? Give feedback.
All reactions