How can I reduce javascript on my site? (Luke, Artim or Aizaz ONLY)
-
Hello,
WP Rocket has informed me that I have way too much javascript on my site:
“To improve it further would require changes to the content/design of the site. The site has tons of JavaScript which is bad for performance. We had to exclude some from being Delayed because you want some elements to be loaded right away, so that degrades performance.”
What steps can I take to reduce this?
Hello,
This question is not related to the theme. JS scripts come with WordPress and installed plugins.
As for the theme files, they are loaded only when they are necessary. If you see some JS files that are not used on your website, let us know and we will help you to remove them.
Currently, your home page has 2MB of scripts loaded. But only 150kB of these files come from our theme. Here are screenshots
https://gyazo.com/9a81ce68ca66795a6ea61c9207fc8159
https://gyazo.com/1b40789bd6c5bb5bd306f512bc6de917
Kind Regards