How to debugg IE11 APPCACHE

2019-02-23 17:49发布

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...

here's the paste of the AppCache manifest:

mime type recognized

#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:

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

Something like: The resource doesn't exist on server.

3条回答
唯我独甜
2楼-- · 2019-02-23 18:25

Add

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

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.

查看更多
迷人小祖宗
3楼-- · 2019-02-23 18:37

Add

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

after session_start()

查看更多
倾城 Initia
4楼-- · 2019-02-23 18:40

IE 11 does not work with appcache if some file in the manifest (or the index itself) works with PHP SESSION

You need to remove from every PHP any of this atributtes:

session_start

cache no expire no store

make sure MimeType is correct

查看更多
登录 后发表回答