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.
2 Answers 2
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.
-
I realize that, but this is no solution. If GTMetrix can detect that the content is identical, Magento should be able to & reference images more efficiently.Moose– Moose2014年08月04日 08:49:27 +00:00Commented Aug 4, 2014 at 8:49
-
Yeah, i don’t agree. There is no actual solution since this is not a bug in the core but a justified feature.mbalparda– mbalparda2014年08月04日 09:05:18 +00:00Commented Aug 4, 2014 at 9:05
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 :)
-
please check the URL give 404.MageCurious– MageCurious2020年05月09日 11:11:25 +00:00Commented May 9, 2020 at 11:11