Quick Look at .Mac Web Gallery
8 August 2007
However, I'm interested in the technical aspects of web applications, so here are some random observations:
Somehow it's loading a number of images that aren't even being used on the page, at least not in the current “state” of the page. I suppose that's intentional, as browsers normally don't load images attached to style rules that don't actually match any element on a page.
Last-Modifiedheaders are being specified for all those resources (they're likely being served directly by Apache). However, no
Expiresheaders are being set, so when in doubt browsers will do conditional
GETrequests to make sure the resources haven't changed.
While everything is on a single HTML page, albums are bookmarkable, as are individual photos, via anchors added to the URL (probably using this). That means that the back and forward buttons work, too. Nice.
However, the album and photo thumbnails are not regular links (as in
<a href>tags), but just
<div>s with click event handlers. Which means you can't right click and open them in a new tab, or copy the URL, etc. This is a really bad design choice in my opinion, both for usability and for accessibility.