开发者

Does HttpClient in android do mem/disk cache when received content?

开发者 https://www.devze.com 2023-04-10 03:53 出处:网络
I do not know if the HttpClient in androi开发者_StackOverflowd have a built in cache system, then I can avoid to build my own.There is support for caching (and a bunch of other features) in Gingerbrea

I do not know if the HttpClient in androi开发者_StackOverflowd have a built in cache system, then I can avoid to build my own.


There is support for caching (and a bunch of other features) in Gingerbread, but you have to switch to HttpUrlConnection. See http://android-developers.blogspot.com/2011/09/androids-http-clients.html

This SO question also seems relevant: How to check caching in DefaultHttpClient on Android

0

精彩评论

暂无评论...
验证码 换一张
取 消