View Full Version : Does the browser load image twice?
11-12-2010, 04:35 PM
If I set the same image in two different <img/> tags, will the browsers load twice the same image, or it will load once and share it across the html?
11-12-2010, 04:41 PM
or it will load once and share it across the html? That's correct. Browser will use it's cache to load the image for the subsequent request.
11-12-2010, 04:57 PM
So if one img tag contain original image and other same image but with redused size, second tag will use the same image and just reduce his size?
11-13-2010, 08:27 AM
Yes, it'll use the cached copy, as long as you use the same src.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.