I spent a bunch of time today working on the avatar serving script, trying to optimize it a little and get the gray/black box issue sorted out. While it seems to work for the most part now, I’ve still been experiencing some strangeness from it on occasion. Often clearing your cache or a refresh or two will bring a munged avatar back to life, which makes no sense at all. I’ve implemented an If-Modified-Since handler that will return 304 Not Modified if the requested avatar has not been changed since the last time your browser downloaded it (assuming your browser supports IMS headers). Hopefully this will cut bandwidth usage quite a bit and free up some server resources so this thing will survive until G2. Thanks to everyone who was supportive during the last week, it means everything to me; and a special thanks to all who have donated recently despite the quirkiness of the gravatar universe. You guys rock!
State of the Gravatar
Subscribe and get notified about the latest Gravatar news…
3 responses to “State of the Gravatar”
Actually to tell you the truth I have just created my first gravatar and I wanted to see how it is working so far. When I first signed up for it it was because I was at a blog that had them and I wanted one too.
The If-Modified-Since handler you mention must be broken. I changed my gravatar in January 2010. But requesting it continues to return a Last-Modified date in June 2008, which I think was when I actually signed up for Gravatar. If I request with If-Modified-Since: 25 Aug 2009, it returns 304/Not Modified, even though it was modified in 2010. Here you can see an example on web-sniffer.net: