lazy load routing #15058
-
Hello, However when i enter login page all components are downloaded regardless if user will be on page or not. This is because worbox in background fetching them. And its OK in many scenarios however some times only login or few other pages is required to be precahced. I use vie for building. Is there any way to pass witch routes i want to be on precache ? and what Can be cached by sw after user actually need ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
only this will work for me Not inside workboxOptions. |
Beta Was this translation helpful? Give feedback.
only this will work for me
cfg.globIgnores inside
of fucntionextendInjectManifestOptions / extendGenerateSWOptions
Not inside workboxOptions.