5

I have a child action method. Can I use OutputCache with file dependency?I can see only SQLDependency property in System.Web.Mvc.OutputCacheAttribute.

Liam
  • 27,717
  • 28
  • 128
  • 190
Arindam
  • 320
  • 2
  • 12

1 Answers1

-2

Yes you can use outputcache with file dependency. Check the following link for more detail.

http://msdn.microsoft.com/en-us/library/67z4z916.aspx

OR

http://www.c-sharpcorner.com/UploadFile/chinnasrihari/Asp-Net-mvc-framework-server-side-html-caching-techniques/

Imran Rashid
  • 3,352
  • 4
  • 31
  • 41