Mnot's Redbot

Saturday, May 23, 2009

Mark Nottingham has put together a really useful tool that aids in the analysis of the behavior of HTTP resources. Visit http://redbot.org/, type in a web address, and Redbot will report the resource’s cachability based on the returned headers, and provide a helpful list of recommendations for improvement.

Running it on http://mikewest.org/, for instance, flags the fact that I compress the response if the browser tells me that it can accept compressed content, but that I've neglected to send the proper Vary header to let caches know that the response needs to be negotiated, and cached based on the Accept-Encoding request header. This is useful, especially for actual applications for which it might matter.

So useful, in fact, that I'm forking it to submit some patches. Mark’s put the Redbot code up on GitHub (mnot/redbot), and I've started putting together a command line version based on the web version he’s built.

I've mentioned that I love GitHub, right? This is exactly why. :)

This entry was published on Saturday, May 23, 2009. Articles published around the same time can be found in the archive.

Further reading: If you enjoyed this post, you might like to take a look at some of my other posts about ’, ’, ’, ’, ’, ’, ’, ’, or ’. I've also made available a list of all the topics I've written about if you're interested in my (folkless) folksonomy.