F
fnustle
Asp.net cache expiration isn't working on the host that I've just moved
to. The cache just doesn't expire. It's not the code because it works
fine on my localhost and at my previous hosting provider.
HttpRuntime.Cache.Insert(XmlCacheKey,ds,null,Cache.NoAbsoluteExpiration,
TimeSpan.FromMinutes(1),CacheItemPriority.Normal,saveData)
I'm using it as a write-back cache that saves the in-memory dataset to
disk every minute if dirty and also on session end, so it's critical
that the cache expires.
I asked my hosting provider if they have disabled expiration using
<cache disableExpiration="false"/> and they said no.
Is there any other reason anyone can think of why the cache won't
expire?
to. The cache just doesn't expire. It's not the code because it works
fine on my localhost and at my previous hosting provider.
HttpRuntime.Cache.Insert(XmlCacheKey,ds,null,Cache.NoAbsoluteExpiration,
TimeSpan.FromMinutes(1),CacheItemPriority.Normal,saveData)
I'm using it as a write-back cache that saves the in-memory dataset to
disk every minute if dirty and also on session end, so it's critical
that the cache expires.
I asked my hosting provider if they have disabled expiration using
<cache disableExpiration="false"/> and they said no.
Is there any other reason anyone can think of why the cache won't
expire?