How to avoid one of the two loaded jquery.min.js

  • Posts: 634
  • Thank you received: 16
5 years 6 months ago #298443

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.x

GTMetrix is informing me of this doubles loading oj jquery.min.js

root/media/jui/js/jquery.min.js (87.0KiB)
root/media/com_hikashop/js/jquery.min.js (84.4KiB)

This are the versions of each file:

JUI joomla Version

/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */ ! function(a, b) {

Hikashop Version

/*! jQuery v1.8.3 jquery.com | jquery.org/license */



Is really necessary that both files are loaded??? I believe that most code is common to both libraries.

Is this is not the case and one can be avoided, which one should I ignore?


Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
5 years 6 months ago #298445

Hello,

Using the JqueryEasy extension will probably help you :
extensions.joomla.org/extension/jquery-easy

Kind regards,
Mohamed Thelji.

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum