I have an action method that I want to cache:
[OutputCache(Duration=60*5, Location=OutputCacheLocation.Any, VaryByCustom=\"index\")] public ActionResult Index()
Sort of wrestling with something similar myself. Have you tried in the web.config to the setting omitVaryStar=true
omitVaryStar=true
https://msdn.microsoft.com/en-us/library/ms228124(v=vs.100).aspx