我无法让一个真正简单的 html5 缓存清单在 iPad 上工作。但是,它确实适用于我测试过的所有其他设备和浏览器。
iPad Safari 实施中是否有任何错误或 iPad 的其他限制,或者我错过了什么?
我将包括相关的源文件。
索引.html
<!DOCTYPE HTML>
<html manifest="example.appcache">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Hello</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>
例子.manifest
CACHE MANIFEST
# 2010-06-18:v2
# Explicitly cached 'master entries'.
CACHE:
index.html
style.css
# Resources that require the user to be online.
NETWORK: