Perfectly resize images using CSS or height and width tags. The only thing you want to be careful about is to make very large images small, because this obviously does not reduce the download size.
Doing this will work best when you cache your images efficiently so that it doesn't load a second time. Then you will get tangible benefits from this. Usually I just add the last modified image time to the URL, for example:
<img src="/images/log.png?1233454568">
and then set the Expires header to year. If the image changes, the mtime time changes, and this causes the browser to restart it.
This is recommended for images, Javascript and CSS files.
cletus
source share