An updated httpcache.py is now available thanks to some contributions from Kendall Clark. In the process I also created a dedicated project page for httpcache.py.