【发布时间】:2014-04-06 15:10:09
【问题描述】:
Appcache 在 Chrome 中完美运行,但是在 IE(11) 中我得到一个非常模糊的“AppCache 致命错误”。
我的语法如下:
CACHE MANIFEST
# 2014 03 04 Verson 1.0.4 #
###########################
/resource.php
NETWORK:
*
FALLBACK:
_
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" manifest='<?php echo DOMAIN; ?>/appcache/text/cache-manifest/manifest.appcache' type='text/cache-manifest'>
编辑:我认为这与大小无关。我清空了清单中的所有资源,所以这只是部分和版本,我仍然收到错误。
编辑 2:我在 Safari 中尝试过,并在控制台日志中收到以下内容:
Application Cache manifest had an incorrect MIME type: text/plain.
所以,我猜我的 MIME 类型是错误的;我该如何解决这个问题?
【问题讨论】:
标签: internet-explorer manifest mime-types html5-appcache application-cache