Enumeration

URLCache.StoragePolicy

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

Declaration

enum StoragePolicy : UInt

Topics

Policies

case allowed

Storage in URLCache is allowed without restriction.

case allowedInMemoryOnly

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

case notAllowed

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