运维网's Archiver
论坛
›
Tomcat
› tomcat+HTML5缓存总结
zidong
发表于 2018-12-6 09:46:56
tomcat+HTML5缓存总结
[*] 在web.xml文件中加入
manifest
text/cache-manifest
[*] 书写 .manifest文件名任意,以test.manifest为列
CACHE MANIFEST
../index.jsp#注路径保存正确
NETWORK:
FALLBACK:
/html5/ ../404.html
[*] 在html5文件中引入.manifest 文件
注:以上路径必须正确
页:
[1]
查看完整版本:
tomcat+HTML5缓存总结