如何使用AppCache for IE构建离线Web应用程序? [英] How to build an offline Web Application with AppCache for IE?

查看:113
本文介绍了如何使用AppCache for IE构建离线Web应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试提供我的asp.net网站的离线版本。因此,如果我调用我的默认页面,它应该加载offline.html。在Firefox(30)中它的工作,在IE(11和我在仿真模式下测试10)没有。



Manifest.appcache



I'm trying to provide an offline version of my asp.net website. So if i call my Default page it should load the offline.html. In Firefox (30) its working, in IE (11 and i tested 10 in Emulation mode) not.

Manifest.appcache

CACHE MANIFEST
 # version 1

CACHE:
offline.html

NETWORK:

FALLBACK:
Default offline.html







Web.config




Web.config

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







默认






Default

<html manifest="Manifest.appcache">





还有一个F AppCache的错误。在IE浏览器中。



IE的任何想法或替代方案?



Also there is a "Fatal error of "AppCache"." in IE.

Any ideas or alternatives for IE?

推荐答案

这篇关于如何使用AppCache for IE构建离线Web应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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