Improve blob rendering time
What does this MR do and why?
Improves LCP by rendering the first section of blob content as soon as the request is done, and rendering the rest once the browser goes into an idle state.
Screenshots or screen recordings
before | after |
---|---|
LCP happens after a big rendering task | LCP happens before the big rendering task |
How to set up and validate locally
- Open a large Markdown file
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #331447
Edited by Jacques Erasmus