Removing unused Javascript

bonnster

New member
May 2, 2022
16
3
3
Hey everyone,

I recently figured out how to generate unused CSS with LiteSpeed plugin and after fine-tuning the settings I got every page to look good.

My question is, is there a way I can remove unused Javascript in the same kind of fashion? The only options I ever come across is to either defer or delay JS but I would like to remove all the unused JS and be delivered by CDN.

Can any maybe help or point me in the right direction?

Thank you
 

nakuk

New member
Oct 17, 2019
25
11
3
UK
You need to enable the Script Manager feature in Perfmatters - you can then remove javascript site-wide or page by page.
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu