/api/v3/office/session/{file_id}/word?first 接口耗时太长,请问有解决方法么??希望技术同学帮忙解答,感谢~

阅读次数 6

<img src="https://solution-community.wps.cn/uploads/post/5htZ3LyBLdy.png" alt=" https://o.wpsgo.com/api/v3/office/session/4/word?first 接口耗时"/><img src="https://solution-community.wps.cn/uploads/post/5htZ9gqCi87.png" alt=" https://o.wpsgo.com/api/v3/office/session/4/word?first 耗时"/>

1 Answers

你好,TTFB依赖服务接口的响应速度,描述中提到的/word?first 接口的逻辑中,耗时主要在文件下载过程,文件地址是由您的/download回调接口 提供的。需要您确认下,文件大小以及服务带宽,从而可以判断实际下载耗时,整个打开过程,主要耗时是依赖您的服务的响应速率