|
MONDAY, MARCH 21, 2011
HttpRuntime.Cache Add vs Insert
Very simple, calling Add will not replace an existing object, it simply returns the object that has the same key. Calling Insert will replace the object.
I will also point out that when you modify an object retrieved from the cache, you are changing the cache. You do not need to re-insert it into the cache after you make changes.
Posted by Chet at 4:12 PM
Comments
i want to make the cache read only . i n my case i am modified the cache item and using it what are the possibilities?
Posted by Ram at 7:31 PM on Mon, Jun 20, 2011
Post a Comment
Feel Free To Share Your Thoughts
You can use [b], [u], [i], and [url] |