Home Forums WoodMart support forum How can I reduce javascript on my site? (Luke, Artim or Aizaz ONLY)

How can I reduce javascript on my site? (Luke, Artim or Aizaz ONLY)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #423109

    contactpleazurr
    Participant

    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?

    #423112

    Artem Temos
    Keymaster

    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

Viewing 2 posts - 1 through 2 (of 2 total)