{"action":"closed","issue":{"url":"https://api.github.com/repos/filipw/AspNetWebApi-OutputCache/issues/116","labels_url":"https://api.github.com/repos/filipw/AspNetWebApi-OutputCache/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/filipw/AspNetWebApi-OutputCache/issues/116/comments","events_url":"https://api.github.com/repos/filipw/AspNetWebApi-OutputCache/issues/116/events","html_url":"https://github.com/filipw/AspNetWebApi-OutputCache/issues/116","id":54106316,"number":116,"title":"Global caching setting","user":{"login":"ssvaidya","id":10469685,"avatar_url":"https://avatars.githubusercontent.com/u/10469685?v=3","gravatar_id":"","url":"https://api.github.com/users/ssvaidya","html_url":"https://github.com/ssvaidya","followers_url":"https://api.github.com/users/ssvaidya/followers","following_url":"https://api.github.com/users/ssvaidya/following{/other_user}","gists_url":"https://api.github.com/users/ssvaidya/gists{/gist_id}","starred_url":"https://api.github.com/users/ssvaidya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssvaidya/subscriptions","organizations_url":"https://api.github.com/users/ssvaidya/orgs","repos_url":"https://api.github.com/users/ssvaidya/repos","events_url":"https://api.github.com/users/ssvaidya/events{/privacy}","received_events_url":"https://api.github.com/users/ssvaidya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-12T21:03:20Z","updated_at":"2015-04-14T09:46:13Z","closed_at":"2015-04-14T09:46:13Z","body":"I would like to know if I can set up a Global caching setting for WebApi OutputCache in the Global.asax file rather than setting up attributes on each and every individual method.  I would like to set a Global value for all caching of my methods in Web Api and then override those values when necessary on methods that require them.  I want a Global caching strategy similar to the Global registration of the Handle Error attribute in ASP.NET MVC.\r\n\r\nPlease advise as to how to accomplish this.\r\n"}}