ipad 오프라인 응용 프로그램을 만들었습니다. Safari는 캐시 매니페스트를 설정했지만 웹 페이지 오프라인 모드를 열면 인터넷에 연결할 수 없다는 메시지를 표시합니다. html 페이지에 필요한 세 파일을 모두 나열했습니다. HTML 페이지 자체, CSS 파일 및 로고 이미지.ipad html5 인터넷 연결 오류를 표시하는 오프라인 응용 프로그램
또한 manifest 파일 이름을 html 태그 및 htaccess 파일에도 설정했습니다.
내가 어디에서 잘못하고 있는지 알려주거나이 문제를 해결하는 방법을 알려 줄 수 있습니까?
사전에
# test1
CACHE MANIFEST
/main.html
감사
<!DOCTYPE HTML>
<html manifest="/main.manifest">
<head>
<meta name="viewport" content="width=device-width">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<title>Welcome</title>
<body>
thsi is test one
</body>
</html>
매니페스트이 .html 코드!
당신은 HTML과 캐시 매니페스트 파일을 게시 할 수 있습니까? – Jon
많은 자바 스크립트 코드가 포함되어 있지 않습니다. 내 서버 지원 .htaccess 'AddType text/cache-manifest .manifest'어떻게 확인할 수 있습니까? – phpian