Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debugg IE11 APPCACHE

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.

like image 418
bacho Avatar asked Mar 21 '23 05:03

bacho


1 Answers

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.

like image 51
Karen Zilles Avatar answered Apr 01 '23 01:04

Karen Zilles