Asp.net mvc 使用ASP.NET MVC正确下载缓存清单,但网站仍无法脱机使用

Asp.net mvc 使用ASP.NET MVC正确下载缓存清单,但网站仍无法脱机使用,asp.net-mvc,caching,manifest,Asp.net Mvc,Caching,Manifest,我正在处理一个ASP.NET MVC网页,我希望该网页可以脱机使用。我创建了一个缓存清单文件,并将其包含如下: <html lang="en" manifest="/cache.manifest" type="text/cache-manifest"> (因为找到了ZippyV的答案,所以我对路径使用了这种语法。) 当我更改修订号并重新加载页面时,控制台显示: Document was loaded from Application Cache with manifest http

我正在处理一个ASP.NET MVC网页,我希望该网页可以脱机使用。我创建了一个缓存清单文件,并将其包含如下:

<html lang="en" manifest="/cache.manifest" type="text/cache-manifest">
(因为找到了ZippyV的答案,所以我对路径使用了这种语法。)

当我更改修订号并重新加载页面时,控制台显示:

Document was loaded from Application Cache with manifest https://[...]
Application Cache Checking event
Application Cache Downloading event
Application Cache Progress event (0 of 8) [...]
[...]
Application Cache UpdateReady event
这似乎意味着清单文件已正确加载。此外,当我检查页面并查看Resources>ApplicationCache>Cache.manifest时,显示所有8个文件都已下载


但是,当我拔下以太网电缆并导航到~/offline时,站点不会加载。你知道为什么吗?谢谢

此错误是否已修复?我知道这是很久以前问过的

更新
希望能帮助其他遇到这个问题的人,这听起来像是一个类似的问题。

啊,不,不是。这是我几年前的一次实习;我记得我们想出了一些解决办法,但我记不清到底是什么。但是谢谢你问:P
Document was loaded from Application Cache with manifest https://[...]
Application Cache Checking event
Application Cache Downloading event
Application Cache Progress event (0 of 8) [...]
[...]
Application Cache UpdateReady event