private static void enableHttpResponseCache(Context context) {
try {
long httpCacheSize = 5 * 1024 * 1024; // 5MB
File httpCacheDir = new File(context.getCacheDir(), "http");
HttpResponseCache.install(httpCacheDir, httpCacheSize);
} catch (IOException e) {
AppLog.w(T.UTILS, "Failed to enable http response cache");
}
}
WordPress.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:wordpress_app_android
作者:
评论列表
文章目录