CATEGORY · Performance · B07
Code splitting
Splitting JS bundles so each route loads only what it needs.
Full definition
Splitting JS bundles so each route loads only what it needs.
Concrete Shopify example
Illustrative example: load a product configurator only where it is needed, while keeping essential navigation and controls available.
My take
Measure initial JavaScript and module-opening latency. Excessive splitting can add network round trips; test loading failures too.
Related terms
Go further
Sources and editorial context
Teo Comyn · Updated
Technical references consulted for this revision. Illustrative examples are not measured client results. Check the current documentation and your store before applying a change.
Editorial policy