hassox/warden — pull request #51 by grosser (2012-06-06 23:41:47+00:00)
Title: Speedup user lookup by also caching if user could not be found

avoid calling session_serializer.fetch everytime `user` is called, is also more symetric to the normal user lookup (we do not lookup the userid in the session/change the current user if we already found a user)

This is a nice performance boost for us, since every SessionSerializer.deserialize always hits our database