|
|
Version: 1.0 Posted: 2008-10-24 Build Requirements: Mac OS X 10.5.3, Xcode 3.1, iPhone OS 2.0 Runtime Requirements: Mac OS X 10.5.3, iPhone OS 2.0 Download Sample Code (URLCache.zip, 39.7K) |
||||
DescriptionURLCache is a sample iPhone application that demonstrates how to download a resource off the web, store it in the application's data directory, and use the local copy of the resource. URLCache also demonstrates how to implement a couple of caching policies: - The local copy of a web resource should remain valid for a period of time (for example, one day) during which the web is not re-checked. - The HTTP header's Last-Modified date should be used to determine the last time a web resource changed before re-downloading it. The audience for this sample is iPhone developers using resources such as images that are retrieved or updated from the web. Document Revision History
|