views:

4

answers:

0

I'm trying to do something similar to this question, I have a multitenant application and want to configure the output cache to be per tenant. However i'd rather not have to use a custom outputcacheattribute or have an outputcache profile and remember to use this everywhere.

Is it possible to change the default outputcache profile settings, adding the host to the VaryByheader attribute.