Hi,

I use Page speed utility from Google http://code.google.com/speed/page-speed/
It analizes the html page and propose changes to speed it up. Now it complains about this module not specifying image dimensions in HTML code as a High Priority performance problem.

Is it possible to fix that?

Screenshot attached.

Cheers,
Alexei

CommentFileSizeAuthor
ScreenHunter_01 May. 30 15.13.gif171.62 KBalmalino

Comments

blinkingtwelve’s picture

Hi almalino,
'fixing' implies brokenness, but there's nothing wrong with the current approach per the HTML spec.

However, browsers can render the page more quickly if they know the image size in advance. I'm interested in how much of a difference this makes. Can you measure that for me? And what caching strategy do you use - does your web server send "Expires"-headers?

blinkingtwelve’s picture

Status: Active » Closed (won't fix)

Closing, no compelling evidence of performance gains. And determining image sizes (and persisting those measurements, otherwise performance will certainly degrade) would increase complexity beyond what I think is reasonable to accomplish the goal of showing a couple of image links.