There is a lot that Google dev tools could do, but this article will focus on identifying unused code. And of course, there are more than one way to find dead code, but this method is simpler as it doesnt require additional libraries. The very basic reason is performance improvement. The lesser the files, the faster the page loads.
47 per cent of consumers expect a web page to load in two seconds or less. 40 per cent of consumers will wait no more than three seconds for a web page to render before abandoning the site
Imagine all the users/customers you could lose visiting your website just because it doesnβt load in a few seconds. So it is really important that the files we send are minimal and does not contain junk.
Top comments (0)