1

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

0

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.

2
  • 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
    Commented 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
    Commented Aug 4, 2014 at 9:05
0

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 :)

1
  • please check the URL give 404. Commented May 9, 2020 at 11:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.