Looking at implementing caching for some common lookup data in an asp.net web application.
In the past, I've created a singleton that creates a bunch of hashtables, which have public accessors. This works pretty well for read-only data that never changes.
I've done a bit of looking into the System.Web.Caching, but it doesn't seem to offer any benefits over the singleton approach. We're not using SQLServer, so we wouldn't be able to take advantage of the SQLCacheDependency for the rare cases where the data might change.
Anyone have experience with either of these alternatives? Or have a better suggestion?