senchalabs/connect — pull request #626 by gasteve (2012-07-09 15:01:51+00:00)
Title: localize favicon cache

This change localizes the favicon cache to each invocation of the middleware. This is useful in cases where one server serves multiple domains, each having it's own favicon. The way the code is currently written, you only get one favicon cache for the entire process. With this change, you get one favicon cache for each call to the favicon middleware which allows different connect apps to have a separate favicon cached in memory.