是否有任何方法可以避免在Android根设备上的http_cache中存储api请求和响应。
我已经尝试过"缓存控制",但没有成功。
OkHttp控制缓存。如果要禁用缓存,请在中设置cacheSize=0
node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java