DotNetAge - Mvc & jQuery CMS

Tag : Last-Modified

How to cache files in Mvc

avatar
Ray

When i enhance the dotnetage runtime preformance with OutputCache i have found the OutputCacheAttribute seems to be not work for FileResult. At last i had to use “Last-Modified” and “ETag” http header to implatment the file cache feature for MVC.


  • 4/2/2011 2:55:00 PM
  • Votes (2)
  • Reads
    (4006)
  • Comments
    (0)

Valid XHTML 1.0!