We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当获得天气数据并缓存到本地数据库后,之后在访问同一城市的数据会优先获取本地缓存的数据而不是访问网络数据。 此时即使本地缓存的数据是比较过时的数据也不会去主动更新了,只能等待update service在后台去更新数据了。因为update service是每隔8小时启动一次,所以总觉得app中数据更新的不是很及时。
感觉这点还是有改进的余地。不过考虑到那个天气API的每日限定3000次的访问数和大部分开发者依然使用的是代码中默认的那个API key,减少网络访问次数也可能是一种考量。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当获得天气数据并缓存到本地数据库后,之后在访问同一城市的数据会优先获取本地缓存的数据而不是访问网络数据。
此时即使本地缓存的数据是比较过时的数据也不会去主动更新了,只能等待update service在后台去更新数据了。因为update service是每隔8小时启动一次,所以总觉得app中数据更新的不是很及时。
感觉这点还是有改进的余地。不过考虑到那个天气API的每日限定3000次的访问数和大部分开发者依然使用的是代码中默认的那个API key,减少网络访问次数也可能是一种考量。
The text was updated successfully, but these errors were encountered: