English 中文(简体)
申请书Cache清单
原标题:Application Cache manifest
<!DOCTYPE HTML>
<html manifest="example.appcache">
<link rel="stylesheet" type="text/css" href="AppCache.css">
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>
<p>Test to make sure css is being cached</p>
<img src="large.jpg">
<script src="AppCache.js"></script>
</body>
</html>

我的例子。 藏书:

# v1 11/16/2011
AppCache.htm
AppCache.js
AppCache.css
large.jpg

The first time I navigated to the page, it asked

该网站要求储存关于你的电脑的数据,供网上使用。

当我拿起“光线”和“新闻复读”时, j就消失了。

问题:我需要做些什么来确保图像在当地贴切?

最佳回答

IRS不使用无名文档类型。 http://www.w3.org/TR/html5/iana.html#text-cache-mani.4/1999/'rel=“noreferer”>text/cache-mani.4/1999/

问题回答

我只想就这里接受的回答发表评论,因为所提到的奇迹不可行(至少在IIS7.5中)。 正确的奇迹类型是:

text/cache-manifest

See: https://developer.mozilla.org/en/Using_Application_Cache

http://www.whatwg.org/specs/web-apps/ 当前-work/multipage/offline.html#offline

不要忘记你们的需要

CACHE MANIFEST

在你面前摆着文件。 这需要。

CACHE MANIFEST
# v1 11/16/2011
AppCache.htm
AppCache.js
AppCache.css
large.jpg

这应当做到 the。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签