Type Property

shared

The shared URL cache instance.

Declaration

class var shared: URLCache { get set }

Discussion

If your app doesn’t have special caching requirements or constraints, the default shared cache instance should be acceptable. Alternatively, you can create a custom URLCache object and set it as the shared cache instance. You should do so before making any calls to this method.

See Also