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

Update 数据预拉取.md #2340

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

yangge19970923
Copy link
Contributor

数据预拉取文件修改

数据预拉取文件修改

- 支付宝客户端 10.2.36 版本,基础库 [2.7.11](https://opendocs.alipay.com/mini/framework/lib-upgrade-v2) 开始支持,低版本需要做 [兼容处理](https://opendocs.alipay.com/mini/framework/compatibility)。
- 此 API 支持个人支付宝小程序、企业支付宝小程序使用。
预拉取能够在小程序冷启动的时候通过支付宝后台提前向第三方服务器拉取业务数据,当页面打开时可以更快地渲染页面,减少用户等待时间,从而提升小程序的打开速度 。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1,到底是客户端拉取的,还是支付宝后台拉取的,原理搞清楚
2,当页面打开时可以更快地渲染页面,减少用户等待时间,从而提升小程序的打开速度 --- 重复啰嗦,因果混乱,语文角度优化下

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1,到底是客户端拉取的,还是支付宝后台拉取的,原理搞清楚 2,当页面打开时可以更快地渲染页面,减少用户等待时间,从而提升小程序的打开速度 --- 重复啰嗦,因果混乱,语文角度优化下
1、已咨询竟州,竟州说实际发起请求的是服务端,客户端也只是读取配置,透传给服务端。
2、已删除重复语句“从而提升小程序的打开速度”。

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果是服务端发请求,是可以提前;但如果是小程序冷启动的时候才拉,走一遍支付宝服务端感觉反倒不划算。这个有点可疑,自己验证下

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

继续。github 早日清零

删除 “从而提升小程序的打开速度” 字样。
改为“支付宝客户端”获取数据
@AlipayDocs AlipayDocs deleted a comment from yangge19970923 Apr 22, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants