Skip to content
New issue

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

关于一点加载细节的请教 #56

Open
hanliuxin5 opened this issue Sep 10, 2019 · 0 comments
Open

关于一点加载细节的请教 #56

hanliuxin5 opened this issue Sep 10, 2019 · 0 comments

Comments

@hanliuxin5
Copy link

我是 Android 开发人员。

有几个问题想要请教一下。

  1. 我能否把整个 crn-cli pack 后的目录当作静态资源用 Git 管理起来,然后页面文件有改动之后 push 覆盖,这样我的客户端始终能请求到最新的页面文件(通过一些适当的缓存策略)。

  2. 能够接手客户端这边的 Okhttp 逻辑实现 “静态页面” 的缓存实现吗?例如通过 Code:304静态页面地址全路径#xxx 这样的方式,而尽量不依靠打包进 assets 文件夹来实现业务页面的实时更新。

谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant