搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Why all srcset images being downloaded?

more options

Why all srcset images being downloaded including the largest original size?. On Chrome, only downloads the need-displayed image size so it took only 1.5MB to load my home page while Firefox took 2.5MB. How does this happen?

Why all srcset images being downloaded including the largest original size?. On Chrome, only downloads the need-displayed image size so it took only 1.5MB to load my home page while Firefox took 2.5MB. How does this happen?

所有回覆 (1)

more options

Could you link to a page that has this problem? I looked at a couple demo pages and watched what Firefox loaded in the Network Monitor* and didn't see any additional images loading before I triggered them:

* More info: https://developer.mozilla.org/docs/Tools/Network_Monitor