Skip to content

Glossary: Web Performance

Code splitting

Cutting your JavaScript into separate files that load only when needed, using dynamic import(). It keeps the first page load small.

Where the book teaches it

Related terms

ChunkDynamic import()Tree shakingVite