Hi Guys,
I have a quick question I'm just not sure about. I'm trying to increase performance on an intranet site. I'm trying to limit the trips to the database by implementing some caching. I'm new to caching and I wasn't sure is this shared across users? I'm hoping it's unique to the individual user. Like every user would have their own independent cache much like the session object. I'm trying things like this
if (Cache["_InfoResult"] == null)
{
Cache["_InfoResult"] = db.GetInfoResultBySessionGuid(SessionGuid);
}
_InfoResult = (InfoResult)Cache["_InfoResult"];
and then using the _InfoResult object to drive areas of the page. My concern was that I want Cache["_InfoResult"] to be unique for each user. Is this correct or would this object be the same for each user? Thanks for clearing it up.
Cheers, ~ck in San Diego