Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
http 応答をキャッシュするために HttpURLConnection と HttpResponseCache を使用したいのですが、MIME 時間に基づいてキャッシュするものを制限します。したがって、別のキャッシングを使用している画像ではなく、JSON 応答に対してのみ HttpResponseCache が必要です。HttpResponseCache に、MIME タイプに基づいてキャッシュを除外するか、リクエスト URI に基づいてキャッシュを制限するように指示する方法はありますか。