Sunday, August 10, 2014

How to able HTML5 cach application in IIS

<configuration>
<system.web>
<compilation explicit="true" strict="false" targetFramework="4.0" />
<identity impersonate="true" password="password" userName="username" />

</system.web>

<system.web>
<customErrors mode="Off" />
</system.web>
<system.webServer>
<defaultDocument>
<files>
<add value="publish.htm" />
</files>
</defaultDocument>
<asp scriptErrorSentToBrowser="true" />
<staticContent>
<mimeMap fileExtension=".appcache" mimeType="text/cache-manifest" />

</staticContent>
<httpErrors errorMode="Detailed" />
</system.webServer>

<location path="OfflineApp.appcache">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="DisableCache" />
</staticContent>
</system.webServer>
</location>

</configuration>

No comments:

Post a Comment