S
Steffen Loringer
Hi,
i like to store some data in the Cache on the server. The data should be
removed once a file on the server is changed (I'm using a
Cache.Dependency). Because the data should be reloaded into the Cache
I'm also using a callback method.
But I can't figure out, how to add the data without any time dependency.
I can't use
Cache.Insert("Test", test, cacheDependency, Nothing, Nothing,
Caching.CacheItemPriority.High, onCacheRemove) because this immediately
reloads the data.
The data should be removed if the file is changed - and only in that
case! Any ideas?
Thanks for help
Steffen
i like to store some data in the Cache on the server. The data should be
removed once a file on the server is changed (I'm using a
Cache.Dependency). Because the data should be reloaded into the Cache
I'm also using a callback method.
But I can't figure out, how to add the data without any time dependency.
I can't use
Cache.Insert("Test", test, cacheDependency, Nothing, Nothing,
Caching.CacheItemPriority.High, onCacheRemove) because this immediately
reloads the data.
The data should be removed if the file is changed - and only in that
case! Any ideas?
Thanks for help
Steffen