• Resolved MKSnMKS

    (@mksnmks)


    I ran a test on page load speeds for our website, and found that its worst score was on Blocking Javascript, and a number of the javascripts that were causing a problem were related to Customize WooCommerce by WP Gel.

    The following is a list of the javascripts that appear to be associated with the Customize WooCommerce plugin, that are “blocking” ;

      *** Web Address ***/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js
      *** Web Address ***/wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js
      *** Web Address ***/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
      *** Web Address ***/wp-content/plugins/woocommerce/assets/js/frontend/price-slider.min.js
      *** Web Address ***/wp-content/plugins/woocommerce/assets/js/accounting/accounting.min.js
      *** Web Address ***/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
      *** Web Address ***/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
      *** Web Address ***/wp-content/plugins/woocommerce/assets/js/jquery-ui-touch-punch/jquery-ui-touch-punch.min.js

    If possible, could you please adjust this code so that it no longer block page loads?

    Note We are running a slightly older version of WooCommerce, because we have not updated due to WooCommerce reporting that some plugins are of unknown compatibility.
    However, once we get those problems sorted out, we would like to be progressing to versions of WooCoomerce that do not rely on using blocking scipts.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    Some scripts need to be loaded in the header. My advice would be to focus on some other areas of site speed first, before getting into the management of scripts like this.

    You do have full control of when and where scripts are enqueued in WordPress though, so all of this can be customized. However this is outside the scope of the support we can offer, because different plugins/theme will be expecting different things.

    Thread Starter MKSnMKS

    (@mksnmks)

    Hi Caleb,

    Thanks for the info.
    I will check speed.

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

The topic ‘WooCommerce – blocking JavaScripts slow page load speed’ is closed to new replies.