Remove unused CSS and Javascript

planetjuniorseo
Explorer
107 0 19

Hi!

 

I have been working on improving the speed of my website for the past few days. I have implemented image optimization but the speed is still not good due to large dom size and unused CSS and javascript. 

 

How can I figure out which part of code is unused and which is not?

planetjuniorseo_0-1705600659336.png

here is a screenshot of google developer tools. Is this red part unused code and should I just remove the above highlighted code with red boundary at the left completely. How to find it and identify which code is useful or not?

 

Replies 0 (0)