I have a virtual directory on IIS7.5, it has .mp4 files.
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.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="01:00:00" />
</staticContent>
</system.webServer>
</configuration>
I also do want to limit the cache to 1GB, how do I achieve this?