A day without JavaScript
One of my clients loads a 4.5 Mb bower.js (including Angular with a lot of components and jQuery), they also include an extra jQuery script, a full jQuery UI and several other scripts <i>on each pageload</i>. Nothing is minimized. The bower file alone has 300k in comments.<p>The CSS file is also nearly 1 Mb.<p>It's just a simple website with some forms.<p>They have 2 developers working on the site, a scrum master, a project manager and 2 testers but somehow they can't find the time to find out which legacy code they can remove.<p>It's only after I pointed out that they have an exceptionally high bouncerate on their (expensive) Adwords traffic and the slowest pageload time of all their main competitors that I managed to get some priority to optimize their site.<p>Serious question: are there any tools that can scan a <i>full</i> website for unused code and unused CSS?