obscured47 0 Light Poster

Hi,

I was wondering if there is a nice way to have the System.Web.Cache in sync with a file.

I'm looking to keep a mapping object (an array of objects with a couple of properties) in cache and also in a file. I want to get 2 things out of this: be able to load the mapping object that is written in a file to the cache and also be able to invalidate the cache if an external tool edits the file.

Any ideas? I'm I talking nonsense?