Hi,
i have this problem when refreshing a page, or clicking a link that
requests the same page over and over again.
For performance purposes, i grab news items from a database, put them
in a NewsCollection and put that collection in the Cache.
When i refresh the page, i see the items displayed on the page
(grabbed from the cache) dissapear one by one. I checked the Count in
the collection, and with each refresh, it goes down one unit.
I continue to refresh untill the collection is empty, and a few
refreshes later, the collection is filled up again.
What can cause this?
I post the lines that i use to insert the collection in the cache:
NewsCollection myCollection = DataProvider.GetNews();
Context.Cache.Insert(cacheKey,myCollection,null,Da teTime.Now.AddSeconds(10),TimeSpan.Zero,CacheItemP riority.Normal,null);
thanks for your help.
Vincent