T
T
Theory Theory2020-07-15 11:43:36
Frontend
Theory Theory, 2020-07-15 11:43:36

How to identify unused js and css code?

Let's say you need to speed up the site and you need to remove unused code. What are the tools for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Otrivin, 2020-07-15
@Narbek

Use the Coverage tool in chromium browsers.
I collect statistics for all typical pages, including popups / media queries, then I clean css based on its analysis. Unfortunately, I have not seen fully automatic correctly working tools.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question