I've inherited a website that seems to import every JS and CSS framework my predecessor could think of. Is there an easy way to analyze the site and determine which ones are actually being used? Or do I have to manually check every page on the site?
Take the 2-minute tour
×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.
JavaScriptUse a JavaScript code coverage tool such as JSCover. It returns a coverage chart like this one showing what percentage of functions in each linked JavaScript file are used. CSSDownload the site and recreate it locally, then use a CSS scanning tool such as Helium. It requires a line-separated list of URLs to parse. |
|||
|