Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support abanobakram

    (@abanobakram)

    Hi @savingyourtail

    Hope you’re doing well today!

    1- To unload the Lottie JS file, you can add this code into your functions.php file:

    add_action( 'wp_enqueue_scripts', function() {

    wp_deregister_script( 'lottie-js' );

    wp_dequeue_script( 'lottie-js' );

    }, 1000 );

    2- Second, premium-addons.js is required for our widgets, but you can enable Dynamic Assets to generate assets based on the widgets on your page. You can enable it from your WP Dashboard -> Premium Addons -> Widgets & Addons tab.

    Regards

    Thread Starter savingyourtail

    (@savingyourtail)

    Both of these changes eliminated my issue/warning on pagespeed insights. Thanks!

    Plugin Support abanobakram

    (@abanobakram)

    Great, you can’t imagine how much I’m glad that I managed to help you 🙂

    We would be really grateful if you could please do us a BIG favor by rating Premium Addons for Elementor.

    Your feedback truly makes a difference.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Unused JS impacting site performance’ is closed to new replies.