• Nederlands (Nederland)
    • English (United States)
    • العربية (مصر)
    • Deutsch (Deutschland)
    • Español (España, alfabetización internacional)
    • français (France)
    • हिंदी (भारत)
    • italiano (Italia)
    • 日本語 (日本)
    • 한국어 (대한민국)
    • polski (Polska)
    • русский (Россия)
    • ไทย (ไทย)
    • Türkçe (Türkiye)
    • Tiếng Việt (Việt Nam)
    • 中文(中华人民共和国)
    • 中文(香港特別行政區)
  • Inloggen
  • Registreren
DotNetAge - Mvc & jQuery CMS

Label : 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.


  • 2-4-2011 14:55:00
  • Votes (2)
  • Leest
    (3557)
  • Opmerkingen
    (0)

Valid XHTML 1.0!