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've noticed that the service worker that ships with create-react-app does not cache the javascript files in /static/js of the build folder. Was this intentional? If so, what were the factors that influenced the decision to exclude these files from the cache.
The text was updated successfully, but these errors were encountered:
After further investigation, I found that the default max file size for sw-precache is 2.1 MB. Our main js bundle comes out to 2.4 MB before being gzipped, so sw-precache skips it. We will look into code splitting.
I've noticed that the service worker that ships with
create-react-app
does not cache the javascript files in/static/js
of the build folder. Was this intentional? If so, what were the factors that influenced the decision to exclude these files from the cache.The text was updated successfully, but these errors were encountered: