iPhone Web App Cache Persistence

2020-03-07 08:07发布

How can I write an ASP.NET (C#) application that will render a page can be permanently cached on the iPhone when it is bookmarked as a "Homescreen Icon"? I have tried setting this on the code behind "Response.ExpiresAbsolute = DateTime.MaxValue;" but to no avail. The server code is still executed every time the home screen icon is launched.

1条回答
爱情/是我丢掉的垃圾
2楼-- · 2020-03-07 08:38

You need to set this up through HTML5 cache and app manifest files. Thw WhatWG group has posted a draft specification.

查看更多
登录 后发表回答