title: How to enable folder level cache on IIS 7.5?
body: <p>I have a virtual directory on IIS7.5, it has .mp4 files.</p>
  
  <p>I want to enable caching at folder level, so that videos can play without buffering. Can the following "web.config" be used? I want to place the "Web.config" inside the folder.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
    &lt;system.webServer&gt;
      &lt;staticContent&gt;
        &lt;clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="01:00:00" /&gt;
      &lt;/staticContent&gt;
    &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>I also do want to limit the cache to 1GB, how do I achieve this?</p>