Enumeration: NSURLCacheStoragePolicy

Overview

These constants specify the caching strategy used by an NSCachedURLResponse object.

Constant Summary

NSURLCacheStorageAllowed

Specifies that storage in nsurlcache is allowed without restriction.important: ios prior to version 5 ignores this cache policy, and instead treats it as nsurlcachestorageallowedinmemoryonly.available in ios 2.0 and later.declared in nsurlcache.h.

NSURLCacheStorageAllowedInMemoryOnly

Specifies that storage in nsurlcache is allowed; however storage should be restricted to memory only.available in ios 2.0 and later.declared in nsurlcache.h.

NSURLCacheStorageNotAllowed

Specifies that storage in nsurlcache is not allowed in any fashion, either in memory or on disk.available in ios 2.0 and later.declared in nsurlcache.h.