We are using unit 1.2. We have cachingAttribute and respective call handler to handle caching specifc requests. We apply the CachingAttribute on interface methods and the return type of the method will be cached and intercepted for
the consiquitve calls.
Since we are using unity interception for non web hosts also and we may or may not use the caching, but the types where the cachingAttribute is applied may be reused in non web hosts (e.g services, batches). So we wanted to disable cachingAttribute
from non web hosts.
Is there any way to disable the interception for specifc attribute types? If yes please let me know if any sample implementation.