Slow website issues

Topic summary

Website performance is slow, with the Largest Contentful Paint (LCP) at the 75th percentile (P75) measured at 4328 ms after recent optimizations of photographs and alt text. LCP is the time until the main on-page content becomes visible; P75 means 75% of user visits experience that timing, and ~4.3 seconds indicates poor loading speed.

Recent actions: optimized images and alt text; no clear improvement in LCP.

Suspected cause: potentially “old” JavaScript contributing to slowness; the poster asks whether this is the case for their site and how to fix it.

Status: no solutions or decisions yet. The user has been searching for months and requests guidance on diagnosing JavaScript-related performance issues and improving LCP. Discussion remains open with key questions unresolved.

Summarized with AI on December 17. AI used: gpt-5.

I currently have a slow website and have been searching for answers over the last few months. I have read that old java scrip will often cause a website to run slow, so I would like to find out if this is the case with my website. Also, after optimizing photographs and alt text yesterday, the LCP P75 is running very slow at 4328 milliseconds. I have no idea how to fix this either. I need some help please. Marilyn

1 Like

Speed checkers like https://pagespeed.web.dev/ give you an analysis on what is going on, and where to look to fix it.

Hi @Rainbird

If you’re looking to optimize your Shopify store’s speed, these can be great adjustments to make. Improving image optimization, reducing requests, and implementing lazy loading can be great ways to ensure your site loads faster.

1.Image Optimization.
2.Reducing HTTP Requests.
3.Implementing Lazy Loading.
4.Optimizing JavaScript and CSS.
5.Using Content Delivery Network (CDN).
6.Evaluate and Remove Unnecessary Apps.
7.Optimize Mobile Experience.
8.Regularly Monitor Performance.

Best regards,
Devcoder :laptop:

Hi, @Rainbird
Could you please share your website URL? I will help review it and analyze the reasons for the slow performance.

This may be a coincidence, but also – Shopify uses server side caching to serve your pages faster.

When you do changes like these, the cache is invalidated to reflect the new data.
Your pages are cached again afterwards, so it may worth checking back in a day or two whether the parameter is back to normal.

Hey @Rainbird

First, check which apps you have installed. Old or poorly coded apps are the biggest culprit for slow sites because they add JavaScript that runs on every page. Go through your apps and uninstall anything you’re not actively using. Even deactivated apps can leave code behind, so fully uninstall them.

For your LCP issue specifically, make sure your hero image or largest above-the-fold image is properly optimized. Even if you optimized photos yesterday, check the file size of that main image - it should be under 200KB ideally. Also make sure it’s in a modern format like WebP instead of JPEG or PNG.

Check your theme too. Some themes are just bloated with features you don’t need. If you’re on an older theme, consider switching to something lightweight like Dawn, which is Shopify’s free default theme and really fast.

Run your site through Google PageSpeed Insights and look at the specific recommendations. It’ll tell you exactly which scripts or images are causing the slowdown. Look for “reduce JavaScript execution time” or “eliminate render-blocking resources” in the diagnostics.

This is not necessary – Shopify automatically serves your images as WEBP if visitors browser supports this format even if JPEG is uploaded.

Thanks for sharing that! You’re absolutely right - I should have been clearer about that.

Even though Shopify converts to WebP, starting with a massive 5MB JPEG will still cause issues. Compressing images before upload to reasonable file sizes (under 300-500KB for hero images) is what really matters, regardless of the format.

1 Like

Hi,

Hope this will help

Image optimization alone doesn’t fix LCP

  • Yes, old and unused JavaScript often slows Shopify stores
  • Deleted apps frequently leave scripts behind
  • LCP is usually caused by hero image or above the fold content

Make changes step-by-step and retest each time

  • Remove unused scripts
  • Fixing hero image loading
  • Simplifying the homepage top section

Hey Marilyn,

Could you share your store url so that I can take a look in the current issue with the loading speed and provide you the best suggestions on how to fix it.

Waiting to hear back from you.

A slow site is usually caused by a few common things, not just old JavaScript. In Shopify, unused apps, heavy theme scripts, and large hero images are often the biggest reasons for poor speed and high LCP. Even if images are optimized, the main banner or slideshow can still load slowly if it’s large or loaded late.

A good first step is to test your site in Google PageSpeed Insights and look specifically at what’s affecting LCP, usually the main image or heading above the fold. Try removing apps you no longer use, disabling unused features in your theme, and making sure your main images are compressed and not set as background images when possible. If the theme itself is heavy, switching to a lighter theme can make a big difference.

Good evening, my website it https://timelessfashions.co.uk/