i'm trying to understand why the images of my products sometimes takes like 5 seconds to load.
Sometime they load really fast, but some times seems that they are being regenerated on the server side and not loaded from the CDN cache. I'm not modifying the products from the control panel so they should be just loaded from the cache, right ?
Here you can see a 68kb image being loaded from the CDN in 4.67 seconds, with server response 4.67 and 3.90ms of download.
Can someone help me understand ?
I have noticed that occasionally the cache is cleared. Unfortunately, this process leads to slower server response times.
Slow-loading product images can negatively impact the user experience on your website, and it's important to identify and address the root cause of the issue. Below are some potential reasons why your product images may be loading slowly.
1. Large Image Size
If your product images are high-resolution and large in file size, they may take longer to load. You can try compressing your images using a tool like TinyPNG to reduce the file size and improve load times.
3. Implement Lazy Loading
Hope it helps. Let us know if you need further help with the issue.
We're experiencing the exact same issues with transparent PNGs and server response times. If hosting on any other CDN, this wouldn't be an issue, so I was surprised. Would love if this was resolved as it's not standard CDN behaviour.
I am currently developing a headless shopify store with sveltekit and this issue is destroying all my efforts. Shopify CDN called "Imagery" is garbage and doesn't seem to use cache at all.
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023
You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...By Skye Nov 8, 2023