diff --git a/pages/Loading/Find-render-blocking-resources.mdx b/pages/Loading/Find-render-blocking-resources.mdx index 44bc8b3..628e478 100644 --- a/pages/Loading/Find-render-blocking-resources.mdx +++ b/pages/Loading/Find-render-blocking-resources.mdx @@ -1,5 +1,6 @@ import snippet from '../../snippets/Loading/Find-render-blocking-resources.js?raw' import { Snippet } from '../../components/Snippet' +import { Demo } from '../../components/Demo' # Find render-blocking resources @@ -26,36 +27,11 @@ Render-blocking resources are the primary cause of slow initial page renders. Us ### Render-blocking timeline -```mermaid -sequenceDiagram - participant Browser - participant HTML as HTML Parser - participant CSS as CSS File - participant JS as JavaScript - participant Render as Renderer - - Browser->>HTML: Start parsing HTML - HTML->>CSS: Discover - Note over HTML: ⏸️ PAUSE parsing - CSS->>CSS: Download CSS - CSS->>CSS: Parse CSS - CSS-->>HTML: CSS ready - Note over HTML: ▶️ RESUME parsing - - HTML->>JS: Discover + +