title: Cache Files in ASP.NET MVC 4
body: <p>On a MVC 4 / SQL 2012 / Entity Framework 5 application I have all files uploaded to the database into a single table.</p>
  
  <p>I then have an action Get in a FileController as follows:</p>
  
  <pre><code>public partial class FileController : Controller {
    public virtual ActionResult Get(Guid key) {
      // Get file from database and return File
    }
  }
  </code></pre>
  
  <p>What cache strategy do I have available, in MVC, for these files?</p>
  
  <p>Should I use ETags? How?</p>
  
  <p>Can someone, please, help me out with this?</p>
  
  <p>Thank You,</p>
  
  <p>Miguel</p>