Enumeration

NSURLCacheStoragePolicy

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

Declaration

typedef enum NSURLCacheStoragePolicy : NSUInteger {
    ...
} NSURLCacheStoragePolicy;

Topics

Policies

NSURLCacheStorageAllowed

Storage in NSURLCache is allowed without restriction.

NSURLCacheStorageAllowedInMemoryOnly

Storage in NSURLCache is allowed; however storage should be restricted to memory only.

NSURLCacheStorageNotAllowed

Storage in NSURLCache is not allowed in any fashion, either in memory or on disk.