2 ms·
Interestingly, this optimization is already unnecessary if you are using the common technique of setting the CSS background-image on an element rather than usin
by acdha 13y ago
Interestingly, this optimization is already unnecessary if you are using the common technique of setting the CSS background-image on an element rather than using IMG src - on Chrome, Firefox and even Internet Explorer memory usage will be stable on a grid of images that way and, as a bonus, you trivially get cross-browser scaling and centering for vertically scaling thumbnails to be the same size.