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.
Version 1.0, 2008-06-05
Demonstrates resource caching behavior using the Cocoa URL loading system.
Mac OS X v10.5 or later, Xcode 3.1 or later.
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.