Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

"jquery Cdn" Page Speed Issue Rate Topic   - - - - -

  • teosu
  • Senior Member
  • Members
  • Join Date: 09-Oct 14
  • 681 posts

Posted 16 January 2020 - 09:50 AM #1

Google page speed tools all time give me same alert; you can save 1.2 ms, 1 second is huge time .

doesn't it make more sense to load jquery libraries from local?

  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11454 posts

Posted 27 January 2020 - 07:54 PM #2

1.2ms is not 1 second, it's 1/1000 of a second. 

What do you mean by "load jquery libraries from local"? 

Jquery is loaded for the site at startup.  However, Jquery UI is not generally a part of cs-cart (they use their own microcoding).  So if you needed jQuery UI (or differeent version) loaded, you should use the my changes/hooks/head_scripts.post.tpl hook to load any specific versions you want.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.