I’m not sure about the differences between VaryByHeader="User-Agent" and VaryByCustom="Browser". Is it right that the latter will create less cached pages? Or in other words, if I wish to cache only for different browser-types (and versions), the latter is the better choice?
Thx for any advice!
sl3dg3
From the MSDN article – ASP.NET Caching: Techniques and Best Practices:
I’d take this to mean that the following useragents would all be considered IE9.0, and create one cache entry:
But would create 3 entries if you used
VaryByHeader="User-Agent"