Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
URL CacheInfo
Last Revision: | Version 1.0, 2008-06-05 Demonstrates resource caching behavior using the Cocoa URL loading system. |
Build Requirements: | Mac OS X v10.5 or later, Xcode 3.1 or later. |
Runtime Requirements: | Mac OS X v10.5.3 or later. |
CacheInfo allows you to choose a URL, create a connection, load the resource asynchronously, and observe results such as the data size, load time, and cache usage. You can adjust the sizes of the shared memory and disk caches and observe how caching is affected during the load.
Copyright © 2008 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2008-06-05