Saijo George

Curated by Saijo George

Read more

wednesday8 Jul 2020

A Node Project to Bulk Find Unused CSS and Javascript with Puppeteer

https://medium.com

On individual URLs, you can use the code coverage report on Chrome to check how much of the CSS and JavaScript files are unused on that page. If you have multiple pages and what to do that same now you can use puppeteer to automate and bulk test that.

The script creates a CSV with url, asset url and unused %. A pivot table with row = asset URL.

Sponsor


I love tl;dr Marketing because I can get all the latest SEO news and trends in one spot without having to read lengthy articles. I really look forward to the daily emails to see what's new in our industry!

Google Calendar Rolling Out Time Insights That Show How Much Time You Spend In Meetings (Only for Paid Workspace Users) 1 - General News

Ryan Mews SEO Manager Merkle