mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-26 00:46:10 +01:00
Add cache manifest for offline support.
This commit is contained in:
parent
9997131c9e
commit
ebcd2de8ed
3 changed files with 34 additions and 1 deletions
23
demo/Web.config
Normal file
23
demo/Web.config
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<!-- Standard ASP.NET configuration; see http://go.microsoft.com/fwlink/?LinkId=169433 -->
|
||||
<system.web>
|
||||
<compilation debug="false" targetFramework="4.0"/>
|
||||
</system.web>
|
||||
|
||||
<!-- Register MIME type for cache manifest -->
|
||||
<system.webServer>
|
||||
<staticContent>
|
||||
<mimeMap fileExtension=".appcache" mimeType="text/cache-manifest"/>
|
||||
</staticContent>
|
||||
</system.webServer>
|
||||
|
||||
<!-- Disable caching for cache manifest file -->
|
||||
<location path="offline.appcache">
|
||||
<system.webServer>
|
||||
<staticContent>
|
||||
<clientCache cacheControlMode="DisableCache"/>
|
||||
</staticContent>
|
||||
</system.webServer>
|
||||
</location>
|
||||
</configuration>
|
||||
Loading…
Add table
Add a link
Reference in a new issue