Open revanth0212 opened 4 years ago
This needs more research. Need to check on what Root Components Chunking is and how is that is related to what this issue addresses.
Edit: Oh I see you've already linked it :P :)
1765 introduced route-based code splitting.
Yeah, this adds chunking on top of what #1765 offers. #1765 already gives us a boost with a smaller client.js
which can be broken up into even smaller chunks using module-based chunking.
This has a high workload. Removing from the Performance Milestone for now. Will revisit in the future.
Is your feature request related to a problem? Please describe. Related to #1673 #1765 #1783
Describe the solution you'd like We can chunk the app based on its availability requirement in the app. For instance, the left drawer is needed in all the pages. We can separate out the left drawer or combine that with app shell and sever it as a bundle of its own so it should be cached on the UI and reused until something changes. Also, we can server render these bundles for better performance (if possible).
Please let us know what packages this feature is in regards to:
venia-concept
venia-ui
pwa-buildpack
peregrine
pwa-devdocs
upward-js
upward-spec
create-pwa