I have a helper method in my application and i have applied output caching on it
[OutputCache(Duration = 3600, VaryByParam = "DetailsId")]
public static Dictionary<string, object> GetData(int DetailsId)
{
}
but on every request this function is called.
I want to know can i apply Output Cache on Helper method? If yes then how ?