AppCache works fine with Firefox (30), but not with IE (11)

I am trying to provide a standalone version of my asp.net site. Therefore, if I call my default page, it should load offline.html. In Firefox, it works in IE (11 and I tested 10 in emulation mode).

Manifest.appcache

CACHE MANIFEST
 # version 1

CACHE:
offline.html

NETWORK:

FALLBACK:
Default offline.html

Web.config

<staticContent>
  <remove fileExtension=".appcache" />
  <mimeMap fileExtension=".appcache" mimeType="text/cache-manifest" />
</staticContent>

Default

<html manifest="Manifest.appcache">

There is also a "Fatal Error" AppCache "in IE.

Any ideas or alternatives for IE?

+4
source share
1 answer

, appcache; , , , .

, - ( , ).

- , IE, , - mime .

mime :

text/cache-manifest

IE , . , ; mime ; , , IE .

, mime , , .

0

Source: https://habr.com/ru/post/1547948/


All Articles