How to implement VaryByCustom caching?
问题 I'm trying to implement functionality to cache certain pages depending on the host. This is because I can have multiple versions of a page which have the same parameters, and where the only difference in terms of a request is the host that is being requested. So, for example these two URLs will request the same page, but they are styled differently: http://www.a.com/something/specific and http://www.b.com/something/specific I'm going through the example outlined here: http://msdn.microsoft