Hacker News new | ask | show | jobs
by piranha 3060 days ago
What's chunking in this context?
1 comments

Breaking down your JavaScript bundles into smaller files that contain the code necessary for the route you’re actually going to be viewing once the page is loaded. For other routes, you fetch the necessary code on-demand.

This lessens the CPU power and bandwidth needed to initially load the page.