如何调试IE11 APPCACHE [英] How to debugg IE11 APPCACHE

查看:90
本文介绍了如何调试IE11 APPCACHE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个可与CHROME和SAFARI一起使用的HTML5页面 但无法使用Internet Explorer 11,我的缓存清单根据 http://manifest-validator.com/是有效的我很沮丧...

I got an HTML5 page that works with CHROME and SAFARI but using Internet Explorer 11 it does not work, my cache manifest is valid according to http://manifest-validator.com/ and I'm very frustrated...

这是AppCache清单的粘贴:

here's the paste of the AppCache manifest:

#version 1.1 12-20-2013
CACHE:

#images
imgs/enc1.png
imgs/logo-izq.png
#internal HTML documents
index.php
#style sheets
css/css.css
css/jquery-ui-1.10.3.custom.min.css
#style sheet images
css/images/animated-overlay.gif
css/images/ui-bg_flat_0_aaaaaa_40x100.png
css/images/ui-bg_flat_75_ffffff_40x100.png
css/images/ui-bg_glass_55_fbf9ee_1x400.png
css/images/ui-bg_glass_65_ffffff_1x400.png
css/images/ui-bg_glass_75_dadada_1x400.png
css/images/ui-bg_glass_75_e6e6e6_1x400.png
css/images/ui-bg_glass_95_fef1ec_1x400.png
css/images/ui-bg_highlight-soft_75_cccccc_1x100.png
css/images/ui-icons_222222_256x240.png
css/images/ui-icons_2e83ff_256x240.png
css/images/ui-icons_454545_256x240.png
css/images/ui-icons_888888_256x240.png
css/images/ui-icons_cd0a0a_256x240.png
#javascript files
js/jquery.min.js
js/offline.js
js/jquery-ui.min.js
#FORMULARIOS OFFLINE
1/4-offline.php
1/5-offline.php
1/6-offline.php
2/4-offline.php
2/5-offline.php
2/6-offline.php
3/4-offline.php
3/5-offline.php
3/6-offline.php
NETWORK:
*
FALLBACK:
js/online.js js/offline.js
online.php offline.php
/ offline_plantilla.php

开发站点就是这个站点:

and the devel site is this one:

IE11上的错误如下: 诸如此类:该资源在服务器上不存在.

The error on IE11 is the following: Something like: The resource doesn't exist on server.

推荐答案

添加

header("Cache-Control: no-cache, must-revalidate");

对于php返回的任何数据. php中的默认Cache-Control标头包含"no-store",这将使IE 11和Firefox中的appCache混乱.

To any data php returns. The default Cache-Control header from php contains "no-store" which will mess up the appCache in both IE 11 and Firefox.

这篇关于如何调试IE11 APPCACHE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆