I have been working recently on an application that needs very simple caching. I found this code sometime ago (but can’t for the life of me remember where! I think it may have been on StackOverflow). It is a simple cache that uses the HttpRuntime which enables it to be used on the web and also the desktop. This code has saved my bacon on more than one occasion so I thought I would share it.