EPiServer Caching

Hi We are running 4.61 and trying to use EPiServer caching. But we have some problems/issues with the caching part or rather the part where we don't want to use EPiServer cache. Web.config settings I override the GetVaryByCustomString function i global.asax I want to be able to don't cache pages for users how has a cookie called "cachethis" with the value "false"! I tried to use the following lines in the function GetVaryByCustomString if (Request.Cookies["cachethis"].ToString() == "false"){ Response.Cache.SetExpires(DateTime.Now()); Response.Cache.SetCacheability(HttpCacheability.NoCache);} But the item is still in the cached. How can I avoid to cache some pages depending on the parameters? /Jörgen
Mar 25, 2008 19:33
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.