From f3e34a89fb998ba17fe4896fcd2cf2319a5e5bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Thu, 2 Apr 2020 13:44:04 +0800 Subject: [PATCH] =?UTF-8?q?manifest.appcache=20=E5=A2=9E=E5=8A=A0=20HTML?= =?UTF-8?q?=20=E8=87=AA=E8=BA=AB=20=E5=85=8D=E5=BE=97=E6=94=B9=E4=BA=86?= =?UTF-8?q?=E4=BB=96=E4=BB=AC=EF=BC=8Cmanifest=E5=8D=B4=E6=B2=A1=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.appcache | 10 ++++++++++ update-manifest.js | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/manifest.appcache b/manifest.appcache index c961ea6a..dfea5bdd 100644 --- a/manifest.appcache +++ b/manifest.appcache @@ -4,6 +4,16 @@ NETWORK: * CACHE: +# HTML自身,免得改了他们,manifest却没更新 +# ▼813b41e63fe6b14f7492de23f8abd2d8 +index.html +# ▼cfbc6ea09c4eadd5c10aec01f8723ef7 +solo.html +# ▼754bb4c38b95abe38e7f4f04d14af97b +multi.html +# ▼96cd0a407c6fdca3eb0c2f081635c0a6 +triple.html + # JS库 # ▼892c162d4f6b83e21b6be3f04eb2a76f library/html2canvas.min.js diff --git a/update-manifest.js b/update-manifest.js index 0b5c4298..78fd907a 100644 --- a/update-manifest.js +++ b/update-manifest.js @@ -3,6 +3,12 @@ const path = require('path');//解析需要遍历的文件夹 const crypto = require('crypto'); //const runDate = new Date(); const cacheList = [ + {typeName:"HTML自身,免得改了他们,manifest却没更新",list:[ + 'index.html', + 'solo.html', + 'multi.html', + 'triple.html', + ]}, {typeName:"JS库",list:[ 'library/html2canvas.min.js', 'library/localforage.min.js',