Browse Source

manifest.appcache 增加 HTML 自身 免得改了他们,manifest却没更新

tags/v8.0
枫谷剑仙 6 years ago
parent
commit
f3e34a89fb
2 changed files with 16 additions and 0 deletions
  1. +10
    -0
      manifest.appcache
  2. +6
    -0
      update-manifest.js

+ 10
- 0
manifest.appcache View File

@@ -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


+ 6
- 0
update-manifest.js View File

@@ -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',


Loading…
Cancel
Save