Hi,
I want to cache some static data in server. if any user request for same data cache should return that.
if i go with HttpContext.cache, it will vary by user. please help me how to do that in c#?
What I have tried:
HttpContext.Cache.Insert(cacheKey, Sonarresult, null, DateTime.Now.AddSeconds(Timeduration), Cache.NoSlidingExpiration); i tried this but for all users will store into cache. i dont want that. first user only has to store it.