applicationCache 缓存

2016-12-29  本文已影响0人  幸福镰刀

开启应用缓存

<html manifest="example.appcache">
...
</html>

创建example.appcache

CACHE MANIFEST

# 要缓存的文件
CACHE:
index.html
index.js

# 不被缓存的文件
NETWORK:
style.css

# 回跳的文件
FALLBACK:
fallback.html
上一篇 下一篇

猜你喜欢

热点阅读