을 사용 그래서 난이 간단한 HTML 파일이사과 모바일 웹 응용 프로그램 지원 및 cache.manifest 문제
<!DOCTYPE HTML>
<html manifest="cache.manifest"><head>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>Test</title>
<meta http-equiv="content-type" content="text/html">
<meta name="HandheldFriendly" content="true">
<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
<h1>hello</h1>
</body>
</html>
내 cache.manifest 내가가 본 웹 사이트를 실행 단순히
CACHE MANIFEST
있다가 내 로컬 서버 (localhost). 아이폰 사파리에서로드하고 잘 작동합니다. 그런 다음 서버를 중지하고 다시로드하면 오프라인 캐시가 작동하기 때문에 작동합니다. 그러나 ... iphone 대시 보드에 시작 아이콘으로 웹 사이트를 저장 한 다음 서버가 중지되어 열려고 시도하면로드되지 않습니다. 그러나 ... 서버를 적어도 한 번 실행하면 (작동 할 것입니다.) 문제없이 나중에 열 수 있습니다.
페이지가 사파리에 캐시되었지만 저장된 앱에 캐싱되지 않은 것처럼 보입니다. 이 문제를 해결하는 방법을 아는 사람은 누구입니까?