开发者

What happens to a an offline cached page when an error page is returned?

I'm running a web app hosted on heroku, and b/c of an outage at amazon it's been out all day long.

If I 开发者_高级运维make a cache manifest to specify that a page should be cached, the page would be served from the cache when the user is offline. But what happens when heroku serves an error page, or the page partially loads, but then times out?


Read this link: http://www.w3.org/TR/html5/offline.html

If the page is stored in the offline cache, it is served first before anything is downloaded. So if there is an error or timeout the browser simply does not update the offline cache.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜