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

"FCP" 计算出来比 "FSP" 大 #23

Open
liby2006 opened this issue Feb 24, 2023 · 1 comment
Open

"FCP" 计算出来比 "FSP" 大 #23

liby2006 opened this issue Feb 24, 2023 · 1 comment

Comments

@liby2006
Copy link

咋回事呢?

@xy-sea
Copy link
Owner

xy-sea commented Mar 9, 2023

这种情况是正常的,因为计算FSP是发生在 document.readyState === 'complete'的时候,但对于SPA单页应用,页面最大的内容可能发生在后端接口返回以后,我在实测过程中也遇到过这种情况,这两个值谁大谁小是不确定的

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

2 participants