Personalized checkout and custom promotions with Shopify Scripts
HI @All, I am working on speed optimisation on shopify store.
Issue:
Jquery.min.js file is consider very high TBT.
What i did:
To reduce it , i try first- convert cdn of jqeury.min.js in assets and paste that minified code in asset and call in theme.liquid.
still i saw it was responsible for higher TBT.
and also i preload it but does not impact.
<link href="{{ 'jquery.min.js' | asset_url }}" rel="preload" as="script">
{{ 'jquery.min.js' | asset_url | script_tag }}
2nd thing what i did , i defer it , still problem is same.
3rd thing that i did, i use it as early hint ,like fetch as earliest as possible but what happen , slider does not work .
{{ 'jquery.min.js' | asset_url | preload_tag: as: 'script' }}--this is early hint , preload code.
It improve TBT alot but slider does not work. i take slick.min.js also as early hint with jquery , still slider does not work of whole website.
So, provide solution for this.
@Shiv20Ens
Can you share your site url. So that we can check and give you a solution.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024