I want to refactor some existing code.
A controller with two actions.
Each action calls a repository which is layered on top of a StronglyTyped enterpriseLibrary cache manager.
The repository tries to get data from the cache. If it fails it gets it from the DB and saves it in cache.
1) Would you combine the two caches into one (not) strongly typed cache, with two consumers that will handle the casting to strong types?
2) What are the advantages and disadvantages of each FW? http.cache vs. EnterpriseLibrary.cache
Any other suggestion?