-
Notifications
You must be signed in to change notification settings - Fork 155
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
Update 数据预拉取.md #2340
base: main
Are you sure you want to change the base?
Update 数据预拉取.md #2340
Conversation
数据预拉取文件修改
mini/api/基础API/缓存/周期性更新/数据预拉取.md
Outdated
|
||
- 支付宝客户端 10.2.36 版本,基础库 [2.7.11](https://opendocs.alipay.com/mini/framework/lib-upgrade-v2) 开始支持,低版本需要做 [兼容处理](https://opendocs.alipay.com/mini/framework/compatibility)。 | ||
- 此 API 支持个人支付宝小程序、企业支付宝小程序使用。 | ||
预拉取能够在小程序冷启动的时候通过支付宝后台提前向第三方服务器拉取业务数据,当页面打开时可以更快地渲染页面,减少用户等待时间,从而提升小程序的打开速度 。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1,到底是客户端拉取的,还是支付宝后台拉取的,原理搞清楚
2,当页面打开时可以更快地渲染页面,减少用户等待时间,从而提升小程序的打开速度 --- 重复啰嗦,因果混乱,语文角度优化下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1,到底是客户端拉取的,还是支付宝后台拉取的,原理搞清楚 2,当页面打开时可以更快地渲染页面,减少用户等待时间,从而提升小程序的打开速度 --- 重复啰嗦,因果混乱,语文角度优化下
1、已咨询竟州,竟州说实际发起请求的是服务端,客户端也只是读取配置,透传给服务端。
2、已删除重复语句“从而提升小程序的打开速度”。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果是服务端发请求,是可以提前;但如果是小程序冷启动的时候才拉,走一遍支付宝服务端感觉反倒不划算。这个有点可疑,自己验证下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
继续。github 早日清零
删除 “从而提升小程序的打开速度” 字样。
改为“支付宝客户端”获取数据
数据预拉取文件修改