Serve resources from a consistent URL
-
11-12-2019 - |
Question
I'm working on optimizing our website & am getting this notice when using GTMetrix.
The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 2 request(s) and 10.9KiB.
Now, I can see from the URL that the issue is that 3 of our products have the exact same image, yet Magento has to reference these URLs differently. Is there any way that I can resolve this? I've done some digging using Google but nothing promising has come up.
Fewer requests means faster rendering time & improved efficiency.
Solution 2
Found what I was looking for, a method for Magento to reference the same image between different products thus saving disk space & bandwidth and in turn speeding up your site.
Magento use images on multiple Products
The extension is free to boot :)
OTHER TIPS
This is an edge case where you uploaded the same image to 3 products and those images are stored in different folders. That is why you have 3 different URLs and the same image.