Remove use of deprecated HTML manifest/offline.appcache from demo web page.

This commit is contained in:
David Anson 2020-01-26 20:32:56 -08:00
parent 3238ed4249
commit 3adb25c79b
4 changed files with 3 additions and 37 deletions

View file

@ -1,24 +0,0 @@
<?xml version="1.0"?>
<configuration>
<!-- Standard ASP.NET configuration; see https://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>
<remove fileExtension=".appcache"/>
<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>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" manifest="offline.appcache">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8"/>
<link href="default.css" rel="stylesheet" type="text/css"/>
@ -30,7 +30,7 @@
<div class="flex-fill"></div>
<footer><a href="#" id="copyLink">Copy Link</a></footer>
<div class="flex-fill"></div>
<footer>Copyright &copy; 2015-2019 by <a href="https://dlaa.me/">David Anson</a></footer>
<footer>Copyright &copy; 2015-2020 by <a href="https://dlaa.me/">David Anson</a></footer>
</div>
</div>
<script src="markdown-it.min.js"></script>

View file

@ -1,10 +0,0 @@
CACHE MANIFEST
# 2019-12-14
default.css
default.htm
default.js
favicon.ico
markdown-it.min.js
markdownlint-browser.min.js
NETWORK:
*

View file

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015-2019 David Anson
Copyright (c) 2015-2020 David Anson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal