Skip to content

Loading speed, web and servers

tree shaking

In short and in plain language

Tree shaking is a step in building script files for a website.

It removes code that is not used, all by itself. Only what the website really calls is left.

This makes the files smaller that visitors have to load. The browser also needs less time to run them.