Jamey McElveen
Jamey McElveen

Reputation: 18305

iPhone Web App Cache Persistence

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.

Upvotes: 1

Views: 3045

Answers (1)

Louis Gerbarg
Louis Gerbarg

Reputation: 43452

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

Upvotes: 1

Related Questions