AI OnAI Off
Should the below code in global.asax do the trick
public override string GetVaryByCustomString(HttpContext context, string custom) { return context.Request.RawUrl; }
in siteSetting
httpCacheVaryByParams="some-query-never-used"
Hope this will be helpful
http://world.episerver.com/blogs/Magnus-Rahl/Dates/2010/11/Customizing-output-cache-variation/
Regards
/K
thanks K.
But I want varybyparam *. My suggested solution works fine. I just want to know If there is any negavtive impact of my suggested solution?
David
Cache Efficency cannot be guranted.unique identifier for a specific version of a page in a specific language (combination of the id and epslanguage), is cache key to make sure that each page INDIVIDUALLY have been rendered by ASPX Cache.
You may also end up that unpublished or old versions of page have also been cached or same page have been cached multiple time.
Regards
/K
Hi,
I want to set uutput cache varybyparam to * . i.e. httpCacheVaryByParams="*" instead of id,epslanguage. To me it looks ok. Is there anything impact specific to EPiServer CMS 6 R2 that I should consider?
thanks
tepu