How to turn on IIS7 output cache for WCF data services (OData)
问题 I have a WCF data service which is sensitive to a quite sophisticated notion of parameters in terms of URL. The common case is having the URLs like http://host:port/DataServices/NavigationMetadataService.svc/Inventories('2.1.11.5')?$expand=Components,Items,Items/Properties,Items/Properties/Values (OData notion of parameters). The service is supposed to return static data. This means that for one unique combination of parameters the response will always be the same (but its size is about 10-20