Class

CachedURLResponse

A cached response to a URL request. URLリクエストに対するキャッシュされた応答。

Declaration 宣言

class CachedURLResponse : NSObject

Overview 概要

A CachedURLResponse object provides the server’s response metadata in the form of a URLResponse object, along with an NSData object containing the actual cached content data. Its storage policy determines whether the response should be cached on disk, in memory, or not at all. CachedURLResponseオブジェクトは、サーバーのも応答メタデータをURLResponseオブジェクトの形式で提供します、それだけでなく実際にキャッシュされた内容データを含むNSDataオブジェクトも提供します。それのストレージ方針は、その応答がディスク上に、メモリ中にキャッシュされるか全くされないべきかを判定します。

Cached responses also contain a user info dictionary where you can store app-specific information about the cached item. キャッシュされた応答はまた、ユーザ情報辞書を含みます、そこにあなたはキャッシュされた項目についてのアプリ特有の情報を格納できます。

The URLCache class stores and retrieves instances of CachedURLResponse. URLCacheクラスは、CachedURLResponseのインスタンスを格納および回収します。

Topics 話題

Creating a Cached URL Response キャッシュされたURL応答を作成する

Getting Cached URL Response Properties キャッシュされたURL応答プロパティを取得する

Setting Cache Storage Policies キャッシュストレージポリシーを設定する

Relationships 関係

Inherits From 継承元

Conforms To 次に準拠

See Also 参照

Cache Behavior キャッシュ挙動