Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
hey tech enthuisist out there my store speed gradually decreasing. i have tried to remove java script and files but i cant find which java script should i remove. im giving below ss of my java script and apps i use. please tell me how to increase my website speed.
thanks in advance.
@Nahidul I have a few resources and suggestions for you:
@Nahidul ,
Remove unused CSS and unused JS:
share your store URL I will check and let you know.
Thank you!
Hello @Nahidul,
There are various methods to increase your Shopify store speed. You can read about them here.
Also, we have a few suggestions based on your query. Hope this gets your issue resolved.
The render-blocking resources are caused by both javascript and CSS files.
For CSS, you can preload the CSS files as shown in the example below:
<link rel=”preload” as=”style” href=”{{ ‘css_file.css ’ | asset_url }}”/>
and then add the CSS normally you do in Shopify:
<link rel=”stylesheet” href=”{{ ‘css_file.css ’ | asset_url }}”/>
For Javascript files, you can use async and defer attributes to the script tag to remove the issue.
Async - the async attribute lets the script be executed asynchronously with the rest of the page ( the script would be executed as the webpage parsing continues).
<script src=”{{ ‘script_file.js ’ | asset_url }}” async></script>
Defer - the defer attribute ensures that the script has to be executed only after the page has finished parsing.
<script src=”{{ ‘script_file.js ’ | asset_url }}” defer></script>
Using the above code ensures that the render-blocking issues are removed from the script files.
Reduce unused javascript issues can be fixed only when you have template-specific files. In Shopify, we have js files such as theme.js, and vendor.js, which are almost called throughout, and we cannot do anything about that because if you modify these js files, it can lead to malfunction in the website.
If you have not handled Shopify theme and liquid.code earlier, and wish to remove unused javascript issues coming through the Facebook sales channel script and google tag manager, you can connect with us or hire a Shopify expert agency who can help you with these problems.
Hope it gets resolved. Let us know if you need any other help.
All the best,
CedCommerce
Hello @Nahidul,
This is flareAI: your Fully Automated Free Sales Machine. I hope you're having a good day. flareAI is helping lots of successful Shopify stores generate $5+ million in sales from Google Search, on autopilot.
If my suggestions is helpful to you, please let me know by giving a like or marking it as a solution.
I advise you to run the Shopify Theme Inspector for Chrome to identify the lines of code that are slowing down pages in your online store.
Themes contain CSS, JS, HTML which can increase and affect your store speed. So disable theme features you don't use.
Remove all unwanted Shopify Apps which you are not using. If you are removing an app make sure to remove the code that was added as part of the app install process.
1. Mostly the app code will be in theme.liquid file. So take a backup of the theme.liquid.
2. Check if the app name exists in the file OR search for lines of codes that begins with the following:
{% include 'the app name' %}
3. If you find any hits, carefully remove the code
4. Save the file and also check if the changes you made caused another error
Also, minifying CSS and JS files will help speed up the store page load.
Is your eCommerce sales growing, but profit shrinking? flareAI will help to scale your site sustainably at NO Agency fees, NO Pay-per-click, NO paid marketplaces. With flareAI, your site can access the world's dominant Free eCommerce services in one Shopify App.
If you found the answer helpful consider supporting the Shopify Community by giving it a Like + Accept the solution.
Gina
flareAI
After checking, there are some suggested solutions that you can apply to improve your speed
- Reduce unused JavaScript that has many heavy JS
- Many images, video are not applied the lazy loading technique
- Can consider changing the theme of your site
- Fix the problems in the console store
Therefore, you can re-check your theme to solve those problems or try speed-optimized service. for more information, you can contact us at julia@onecommerce.io or WhatsApp: +61 3 9028 6983
Get know us at: Website | Blog | FAQ | Contact us
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025