Open
Conversation
数据预拉取文件修改
hbhftgf
reviewed
Feb 27, 2023
mini/api/基础API/缓存/周期性更新/数据预拉取.md
Outdated
Contributor
There was a problem hiding this comment.
1,到底是客户端拉取的,还是支付宝后台拉取的,原理搞清楚
2,当页面打开时可以更快地渲染页面,减少用户等待时间,从而提升小程序的打开速度 --- 重复啰嗦,因果混乱,语文角度优化下
Contributor
Author
There was a problem hiding this comment.
1,到底是客户端拉取的,还是支付宝后台拉取的,原理搞清楚 2,当页面打开时可以更快地渲染页面,减少用户等待时间,从而提升小程序的打开速度 --- 重复啰嗦,因果混乱,语文角度优化下
1、已咨询竟州,竟州说实际发起请求的是服务端,客户端也只是读取配置,透传给服务端。
2、已删除重复语句“从而提升小程序的打开速度”。
Contributor
There was a problem hiding this comment.
如果是服务端发请求,是可以提前;但如果是小程序冷启动的时候才拉,走一遍支付宝服务端感觉反倒不划算。这个有点可疑,自己验证下
删除 “从而提升小程序的打开速度” 字样。
改为“支付宝客户端”获取数据
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
数据预拉取文件修改