サイトのキャッシュ マニフェストを設定しようとしていますが、うまくいきません。デモページはこちら: http://www.matthewlehner.ca
私が使用している HTML の構造は次のとおりです。
<!DOCTYPE html>
<html manifest="manifest.appcache">
</html>
ルート フォルダーの .htaccess には、次のエントリがあります。
AddType text/cache-manifest appcache
AddType text/cache-manifest .appcache
「curl -I http://www.matthewlehner.ca/manifest.appcache」からの応答
HTTP/1.1 200 OK
Date: Sun, 11 Sep 2011 00:04:30 GMT
Server: Apache
Last-Modified: Sat, 10 Sep 2011 07:53:30 GMT
ETag: "18a84003-32-4ac9196f95280"
Accept-Ranges: bytes
Content-Length: 50
Content-Type: text/cache-manifest
しかし、OS X 10.6 の Chrome 開発者は次のエラーを報告しています:
Application Cache Error event: Invalid manifest mime type (text/plain) http://www.matthewlehner.ca/manifest.appcache
明らかにこれは当てはまりませんが、どうすればこれを修正できますか? Chrome、.htaccess、またはホスティングの問題ですか?