iPhone Web App Cache Persistence

穿精又带淫゛_ 提交于 2019-12-19 04:40:13

问题


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:


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



来源:https://stackoverflow.com/questions/264367/iphone-web-app-cache-persistence

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!