Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSURLRequestMBS class.

NSURLRequestMBS.NSURLRequestReloadIgnoringCacheData = 1

Type Topic Plugin Version
const Cocoa Networking MBS MacBase Plugin 7.2
A constant that can be used to specify the type of interactions that take place with the caching system when the URL loading system processes a request.

Specifically, these constants cover interactions that have to do with whether already-existing cache data is returned to satisfy a URL load request.

NSURLRequestReloadIgnoringCacheData Specifies that the data for the URL load should be loaded from the origin source. No existing cache data, regardless of its freshness or validity, should be used to satisfy a URL load request.

NSURLRequestMBS.NSURLRequestReloadIgnoringLocalAndRemoteCacheData = 4

Type Topic Plugin Version
const Cocoa Networking MBS MacBase Plugin 9.6
A constant that can be used to specify the type of interactions that take place with the caching system when the URL loading system processes a request.

Specifies that not only should the local cache data be ignored, but that proxies and other intermediates should be instructed to disregard their caches so far as the protocol allows.

Available in Mac OS X v10.5 and later.

NSURLRequestMBS.NSURLRequestReloadRevalidatingCacheData = 5

Type Topic Plugin Version
const Cocoa Networking MBS MacBase Plugin 9.6
A constant that can be used to specify the type of interactions that take place with the caching system when the URL loading system processes a request.

Specifies that the existing cache data may be used provided the origin source confirms its validity, otherwise the URL is loaded from the origin source.

Available in Mac OS X v10.5 and later.

NSURLRequestMBS.NSURLRequestReturnCacheDataDontLoad = 3

Type Topic Plugin Version
const Cocoa Networking MBS MacBase Plugin 7.2
A constant that can be used to specify the type of interactions that take place with the caching system when the URL loading system processes a request.

Specifically, these constants cover interactions that have to do with whether already-existing cache data is returned to satisfy a URL load request.

NSURLRequestReturnCacheDataDontLoad Specifies that the existing cache data should be used to satisfy a URL load request, regardless of its age or expiration date. However, if there is no existing data in the cache corresponding to a URL load request, no attempt is made to load the URL from the origin source, and the load is considered to have failed. This constant specifies a behavior that is similar to an "offline" mode.

NSURLRequestMBS.NSURLRequestReturnCacheDataElseLoad = 2

Type Topic Plugin Version
const Cocoa Networking MBS MacBase Plugin 7.2
A constant that can be used to specify the type of interactions that take place with the caching system when the URL loading system processes a request.

Specifically, these constants cover interactions that have to do with whether already-existing cache data is returned to satisfy a URL load request.

NSURLRequestReturnCacheDataElseLoad Specifies that the existing cache data should be used to satisfy a URL load request, regardless of its age or expiration date. However, if there is no existing data in the cache corresponding to a URL load request, the URL is loaded from the origin source.

NSURLRequestMBS.NSURLRequestUseProtocolCachePolicy = 0

Type Topic Plugin Version
const Cocoa Networking MBS MacBase Plugin 7.2
A constant that can be used to specify the type of interactions that take place with the caching system when the URL loading system processes a request.

Specifically, these constants cover interactions that have to do with whether already-existing cache data is returned to satisfy a URL load request.

NSURLRequestUseProtocolCachePolicy Specifies that the caching logic defined in the protocol implementation, if any, is used for a particular URL load request. This is the default policy for URL load requests.

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...