{"id":4154866,"date":"2022-03-10T09:24:32","date_gmt":"2022-03-10T08:24:32","guid":{"rendered":"https:\/\/wp-rocket.me\/?post_type=lp_resources&#038;p=4154866"},"modified":"2022-12-27T13:01:57","modified_gmt":"2022-12-27T12:01:57","slug":"improve-speed-index","status":"publish","type":"lp_resources","link":"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/","title":{"rendered":"How to Improve Speed Index (SI) on WordPress"},"content":{"rendered":"<p>Do you know how many seconds it takes for your website to load onto your visitor\u2019s screen? The answer points toward the Speed Index (SI), a performance metric impacted by anything that deals with above-the-fold.<\/p><p>The Speed Index (SI) contributes to your overall performance score on the Lighthouse report. Maintaining a good Speed Index leads to a great user experience: it means that the content located in the viewport is delivered quickly.&nbsp;<\/p><p>To improve your performance score, there are six metrics to optimize, and the Speed Index holds up 10% of this global grade computed by Lighthouse.&nbsp;<\/p><p>What is a&nbsp;<em>good<\/em>&nbsp;Speed Index? How to measure it? Which tools are the most reliable? It can be overwhelming to run a performance audit for your website!&nbsp;<\/p><p>Follow our step-by-step guide to control your Speed Index KPI and conduct an effective performance optimization process. We will explain the Speed Index metric in detail, the free tools you can use to measure your performance, and some technical tips to apply to get a good Speed Index grade (under 3,4 s).<\/p><h2 class=\"wp-block-heading\" id=\"section-1\">What\u2019s Speed Index in Lighthouse?<\/h2><p>Speed Index is a Lighthouse performance metric that shows how quickly the content of a page is loaded and visible for the user.&nbsp;<\/p><p>The Speed \u200b\u200bIndex indicates the loading time of the visible part above the fold of a web page (in the viewport). It measures the entire loading process of what users see before scrolling.&nbsp;<\/p><p>In fact, Lighthouse takes a video of the loading process and calculates the difference between all the frames. Then, Lighthouse uses the Speedline Node.JS module to compute the final SI score. (You can find more information on&nbsp;<a href=\"https:\/\/github.com\/paulirish\/speedline\">this module on Github<\/a>).<\/p><p>The Speed Index is the result of a calculation: it\u2019s the average rendering speed of a web page and its visual progress, also called&nbsp;<strong>visual completion<\/strong>.&nbsp;<\/p><p>It\u2019s a meaningful lab metric for measuring loading time that directly affects how users&nbsp;<strong>perceive a website\u2019s performance<\/strong>.&nbsp;<\/p><p>Let\u2019s illustrate this visual completion with two scenarios: page A is optimized, while page B is not:&nbsp;<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"238\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-SI-and-the-visual-completion.png\" alt=\"Explaining SI and the visual completion- Source: fasterize\" class=\"wp-image-3528298\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-SI-and-the-visual-completion.png 750w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-SI-and-the-visual-completion-310x98.png 310w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><figcaption>Explaining SI and the visual completion- Source:&nbsp;<a href=\"https:\/\/www.fasterize.com\/en\/blog\/speed-index-a-key-metric-for-the-user-experience\/#WHAT_IS_THE_SPEED_INDEX\">fasterize<\/a><\/figcaption><\/figure><figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\ud83d\udcd6&nbsp;<\/strong>A low Speed Index score means that your page renders the visible content pretty fast, giving your visitors the perception of a faster loading page.<br><br><strong>\ud83d\udcd6&nbsp;<\/strong>SI metric is user-centric: it tracks visual progression.<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\" id=\"section-2\">What\u2019s the Impact of Speed Index on Performance?<\/h2><p>Speed Index is a load performance metric that shows how quickly elements of a page become visible in the viewport.&nbsp;<strong>How fast does your website seem to your visitors?&nbsp;<\/strong>That\u2019s exactly the question you\u2019re trying to answer when measuring your web performance!&nbsp;<\/p><p>Speed Index is represented on the image below, almost at the end of the visual completion process:&nbsp;<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"880\" height=\"661\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-the-Loading-Process.png\" alt=\"Explaining the Loading Process \u2013 Source: dev.to \" class=\"wp-image-3528305\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-the-Loading-Process.png 880w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-the-Loading-Process-260x195.png 260w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-the-Loading-Process-768x577.png 768w\" sizes=\"(max-width: 880px) 100vw, 880px\" \/><figcaption><em>Explaining the Loading Process \u2013 Source:&nbsp;<\/em><a href=\"https:\/\/dev.to\/addyosmani\/web-page-usability-matters-3aok\"><em>dev.to<\/em><\/a>&nbsp;<\/figcaption><\/figure><p>Now, let\u2019s see how the Speed Index compares to the 5 other KPIs measured by Lighthouse.<\/p><h3 class=\"wp-block-heading\">Speed Index Weight on the Lighthouse Score<\/h3><p>In the Lighthouse v8 Performance score, SI\u2019s weight has been reduced from 15% to 10%.&nbsp;<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"770\" height=\"426\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Lighthouse-Scoring-Calculator-v8-Including-SI.png\" alt=\"Lighthouse Scoring Calculator v8 (Including SI)  \u2013 Web.dev\" class=\"wp-image-3528310\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Lighthouse-Scoring-Calculator-v8-Including-SI.png 770w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Lighthouse-Scoring-Calculator-v8-Including-SI-310x172.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Lighthouse-Scoring-Calculator-v8-Including-SI-768x425.png 768w\" sizes=\"(max-width: 770px) 100vw, 770px\" \/><figcaption>Lighthouse Scoring Calculator v8 (Including SI)&nbsp; \u2013&nbsp;<a href=\"https:\/\/web.dev\/performance-scoring\/\">Web.dev<\/a><\/figcaption><\/figure><h3 class=\"wp-block-heading\">How is the Speed Index Calculated by Lighthouse?&nbsp;<\/h3><p>Web.Dev explains that&nbsp;<a href=\"https:\/\/web.dev\/performance-scoring\/#metric-scores\">your Speed Index score is a \u201ccomparison of your page\u2019s speed index and the speed indices of real websites\u201d<\/a>.<\/p><p>The V8 Lighthouse version computes six metrics to generate your final performance score. It includes&nbsp;<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/\">the Core Web Vitals<\/a>, the Total Time to Interactive, the Total Blocking Time, and finally, the&nbsp;<strong>Speed Index<\/strong>:<\/p><figure class=\"wp-block-table\"><table><tbody><tr><td><strong>KPI<\/strong><\/td><td><strong>Weight<\/strong><\/td><td><strong>What\u2019s a good score? (green zone)<\/strong><\/td><\/tr><tr><td><a href=\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-first-contentful-paint\/\">First Contentful Paint<\/a><\/td><td>10%<\/td><td>0-2 s<\/td><\/tr><tr><td><strong>Speed Index&nbsp;<\/strong><\/td><td><strong>10%<\/strong><\/td><td><strong>0-3,4 s<\/strong><\/td><\/tr><tr><td><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/improve-largest-contentful-paint\/\">Largest Contentful Paint<\/a><\/td><td>25%<\/td><td>0-2,5 s<\/td><\/tr><tr><td><a href=\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-time-to-interactive\/\">Time to Interactive<\/a><\/td><td>10%<\/td><td>0-3,8 s&nbsp;<\/td><\/tr><tr><td><a href=\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/reduce-total-blocking-time\/\">Total Blocking Time<\/a><\/td><td>30%<\/td><td>&lt; 200 ms<\/td><\/tr><tr><td><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/improve-cumulative-layout-shift\/\">Cumulative Layout Shift<\/a><\/td><td>15%<\/td><td>0 \u2013 0,1<\/td><\/tr><\/tbody><\/table><\/figure><p>Speed Index is an important lab metric because&nbsp;<strong>it defines whether your page is perceived as fast or slow.&nbsp;<\/strong><\/p><figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\ud83d\udcd6&nbsp;&nbsp;<\/strong>Speed Index Formula:&nbsp;Interval time * (1 \u2013 visual completeness \/ 100)<\/td><\/tr><\/tbody><\/table><\/figure><p>Before we give you some technical recommendations to improve your Speed Index if needed, we should determine what is a good SI score according to Lighthouse.&nbsp;<\/p><p>And that leads us into the next section: the Speed Index threshold.&nbsp;&nbsp;<\/p><h3 class=\"wp-block-heading\">What\u2019s a Good Speed Index Score?<\/h3><p>A good Speed Index score should be under 3,4 seconds.&nbsp;<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"565\" height=\"262\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/SI-thresholds.png\" alt=\"SI thresholds \u2013 Source: Web.dev\" class=\"wp-image-3528317\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/SI-thresholds.png 565w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/SI-thresholds-310x144.png 310w\" sizes=\"(max-width: 565px) 100vw, 565px\" \/><figcaption>SI thresholds \u2013 Source: Web.dev<\/figcaption><\/figure><\/div><h3 class=\"wp-block-heading\">Speed Index vs First Contentful Paint&nbsp;<\/h3><p>If you are familiar with the recent Core Web Vitals update, the Speed Index metric may look similar to the&nbsp;First Contentful Paint (FCP)&nbsp;KPI.&nbsp; Let me explain the main difference and why both metrics are important.&nbsp;<\/p><p>First Contentful Paint is also a visual metric that measures the time until the browser<strong>&nbsp;first<\/strong>&nbsp;renders any content. Speed Index describes the rate at which the full content appears&nbsp;<strong>above the fold<\/strong>.&nbsp;<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"174\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/FCP-vs-SI.png\" alt=\"FCP vs SI KPIs \u2013 Source: Fasterize\" class=\"wp-image-3528324\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/FCP-vs-SI.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/FCP-vs-SI-310x67.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/FCP-vs-SI-768x167.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption>FCP vs SI KPIs \u2013 Source:&nbsp;<a href=\"https:\/\/www.fasterize.com\/fr\/blog\/donner-une-bonne-premiere-impression-de-la-vitesse-de-chargement-de-son-site-web-avec-le-fcp-et-le-fid\/\">Fasterize<\/a><\/figcaption><\/figure><p>So whatever speeds up your FCP will improve your Speed Index metric (and it\u2019s better for a user to see something instead of the scary white screen.)<\/p><h3 class=\"wp-block-heading\">Speed Index vs Cumulative Layout Shift<\/h3><p>Whatever stabilizes the content above the fold, and improves interactivity will also help maintain a good Speed Index. To measure the visual stability, Google uses the&nbsp;<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/improve-cumulative-layout-shift\/\">Cumulative Layout Shift (CLS)<\/a>&nbsp;from the Page Experience signals. CLS measures the sudden changes on a page that are unwanted by a user such as pop-ups or intrusive ads that ruin the user experience:<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"563\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Illustrating-CLS.png\" alt=\"Illustrating CLS \u2013 Source: onely\" class=\"wp-image-3528331\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Illustrating-CLS.png 1000w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Illustrating-CLS-310x175.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Illustrating-CLS-768x432.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption>Illustrating CLS \u2013 Source:&nbsp;<a href=\"https:\/\/www.onely.com\/blog\/cumulative-layout-shift\/\">lonely<\/a><\/figcaption><\/figure><p>Therefore, a good CLS score means good visual stability and can affect your SI positively.&nbsp;<\/p><p>Maintaining a good SI is great for performance but also for marketing. Let\u2019s see how.&nbsp;<\/p><h3 class=\"wp-block-heading\">Four Marketing Benefits to Keep a Great Speed Index&nbsp;<\/h3><h4 class=\"wp-block-heading\">1. Lower your bounce rate<\/h4><p>Well, imagine that you are trying to access a website, but instead of seeing any content right away, you are staring at a blank screen. What do you do? You leave.&nbsp;<\/p><p>This scenario (that we all want to avoid) is called \u201ca bounce\u201d. Someone visits your website and leaves immediately without interacting further with your site.&nbsp;<\/p><figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\ud83d\udcd6&nbsp;&nbsp;<\/strong>Maintaining a good FCP and SI score will significantly reduce your bounce rate because the user will perceive your website as a fast one.&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure><h4 class=\"wp-block-heading\">2. Increase your \u201ctime to spend on page\u201d KPI<\/h4><p>If you lower your Speed Index, then the users visiting your site will be willing to stay more on your site and visit more pages.&nbsp;<\/p><h4 class=\"wp-block-heading\">3. Increase conversion rates&nbsp;<\/h4><p>When a user spends time on your site thanks to a good speed, you have another benefit: they are more likely to buy. You are answering their needs: find the answer or the product they want as quickly as possible.&nbsp;<\/p><h4 class=\"wp-block-heading\">4. Boost your SEO<\/h4><p>If your visitors enjoy the experience of being on your website, Google will like it too and will reward you with a better position in the search engine results.&nbsp;<\/p><h2 class=\"wp-block-heading\" id=\"section-3\">How to Measure Speed Index<\/h2><p>Lighthouse is an open-source tool that helps developers to measure Speed Index and other performance metrics. The automated tool creates in-depth reports about speed, performance, accessibility, UX, and SEO.&nbsp;<\/p><figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\ud83d\ude80&nbsp;<\/strong>Do you need help to measure your SI and to perform your website\u2019s audit?&nbsp;Follow our complete guide that explains&nbsp;<a href=\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/\">how to improve your Lighthouse performance score on WordPress<\/a>.&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure><h3 class=\"wp-block-heading\">Which Tools to Measure Speed Index?<\/h3><p>To measure Speed Index and your overall performance score, you can use Google PageSpeed Insights and GTmetrix, two popular tools powered by the Lighthouse technology.&nbsp;<\/p><ul class=\"wp-block-list\"><li>Using&nbsp;<a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/insights\/?hl=en&amp;url=wp-rocket.me&amp;tab=desktop\">Google PageSpeed Insight&nbsp;<\/a>(PSI) to measure the SI metric:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"669\" height=\"514\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/PSI-SI.png\" alt=\"PageSpeed Insights - Speed Index\" class=\"wp-image-3528342\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/PSI-SI.png 669w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/PSI-SI-254x195.png 254w\" sizes=\"(max-width: 669px) 100vw, 669px\" \/><\/figure><ul class=\"wp-block-list\"><li>Using&nbsp;<a href=\"https:\/\/gtmetrix.com\/reports\/wp-rocket.me\/M53lK5DA\/\">GTmetrix<\/a>&nbsp;to get the SI grade:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1065\" height=\"763\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/GTmetrix-SI.png\" alt=\"GTmetrix-SI\" class=\"wp-image-3528349\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/GTmetrix-SI.png 1065w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/GTmetrix-SI-272x195.png 272w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/GTmetrix-SI-768x550.png 768w\" sizes=\"(max-width: 1065px) 100vw, 1065px\" \/><\/figure><p>The tools are both providing a different SI score, but they are both in the green zone:&nbsp;<\/p><ul class=\"wp-block-list\"><li>SI score (PSI): 0,8 s<\/li><li>SI score (GT Metrix): 1.1 s<\/li><\/ul><figure class=\"wp-block-table\"><table><tbody><tr><td>\ud83d\ude80 Running a performance audit is not always easy. Check&nbsp;<a href=\"https:\/\/wp-rocket.me\/blog\/how-to-test-wordpress-site-performance-measure-speed-results\/\">our complete guide about testing WordPress site performance and speed<\/a>. It will help you identify the tools you need and what are the acceptable thresholds for each metric.&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\" id=\"section-4\">What Affects Speed Index?&nbsp;<\/h2><p>The causes of a high SI score can be identified in the diagnostics section of Google PageSpeed Insights. Usually, we have four main issues contributing to a bad SI score, namely:<\/p><ol class=\"wp-block-list\"><li>JavaScript code and unused JS<\/li><li>JavaScript Execution time<\/li><li>Main thread work<\/li><li>Third-party code&nbsp;<\/li><\/ol><p>Thanks to the \u201copportunities\u201d and \u201cdiagnostics\u201d sections generated by Lighthouse, you can find how to improve your SI and your performance grade.&nbsp;<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"783\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Opportunity-and-Diagnostics-section-SI.png\" alt=\"Opportunity and Diagnostics section \u2013 Source: PSI\" class=\"wp-image-3528355\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Opportunity-and-Diagnostics-section-SI.png 671w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Opportunity-and-Diagnostics-section-SI-167x195.png 167w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><figcaption><em>Opportunity and Diagnostics section \u2013 Source: PSI<\/em><\/figcaption><\/figure><p>The report determines how much impact each error has on your performance. Addressing them will drastically reduce your Speed Index grade and increase the overall user experience of your WordPress site.&nbsp;<\/p><p>Our goal is straightforward:&nbsp;<strong>we want the visitor to see the above-the-fold content as soon as possible.&nbsp;<\/strong><\/p><p>To improve the Speed Index, we\u2019ve listed the main recommendations coming from PSI:&nbsp;<\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/eliminate-render-blocking-javascript-css\/\">Eliminate render-blocking resources<\/a><\/li><li><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/minimize-main-thread-work\/\">Minimize main-thread work<\/a>&nbsp;(minimize the browser tasks)<\/li><li><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-javascript-execution-time\/\">Reduce JavaScript execution time<\/a><\/li><li>Ensure text remains visible during webfont load (use custom fonts properly)<\/li><li><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/remove-unused-javascript\/\">Remove unused JS<\/a><\/li><li><a href=\"https:\/\/wp-rocket.me\/blog\/third-party-scripts\/\">Reduce the impact of third party code<\/a><\/li><li>Avoid chaining critical requests<\/li><li><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/preload-key-requests-wordpress\/\">Preload key requests<\/a><\/li><li>Keep request counts low and transfer sizes small<\/li><li><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/\">Reduce TTFB and server response times<\/a><\/li><li>Make sure you use the images in the files to be uploaded are in the correct format<\/li><\/ul><p>Now let\u2019s see how to implement each of them.&nbsp;<\/p><h2 class=\"wp-block-heading\" id=\"section-5\">How to Improve Speed Index: 8 Performance Tips<\/h2><p>There are eight performance techniques to follow in order to improve the Speed Index and the overall speed of your WordPress site, namely:&nbsp;<\/p><ol class=\"wp-block-list\"><li><a href=\"#defer-js\">Defer JS<\/a><\/li><li><a href=\"#delay-js-remove-unused-js\">Delay JS and Remove Unused JS<\/a><\/li><li><a href=\"#minify-js-css\">Minify JS and Minify CSS<\/a><\/li><li><a href=\"#optimize-css-delivery-unused-css\">Optimize CSS Delivery and Remove Unused CSS<\/a><\/li><li><a href=\"#optimize-images-lazy-load\">Optimize Images + Lazy Load<\/a><\/li><li><a href=\"#data-compression\">Use Data Compression<\/a><\/li><li><a href=\"#use-cdn\">Use a CDN<\/a><\/li><li><a href=\"#preload-optimize-fonts\">Preload and Optimize Fonts<\/a><\/li><\/ol><p>Let\u2019s dig into each of them.&nbsp;<\/p><h3 class=\"wp-block-heading\" id=\"defer-js\">1. Defer JS&nbsp;<\/h3><p>The JS files will be loaded&nbsp;<em>after&nbsp;<\/em>the browser has displayed the most relevant content. This process allows the browser to load the full content without waiting for the scripts to load.&nbsp;<\/p><p>By deferring the JS files, you also prioritize the type of content you want to show first. In our case, we should focus on anything above the fold: all the non-essential JS under the fold should be deferred.<\/p><p><strong>\ud83d\udea8 Issues reported by Lighthouse:&nbsp;<\/strong>\u201c<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/eliminate-render-blocking-javascript-css\/\">Eliminate render-blocking resources<\/a>\u201d, \u201c<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/remove-unused-javascript\/\">Remove unused JavaScript<\/a>\u201d and \u201cAvoid chaining critical requests\u201d.<\/p><p><strong>\u2705&nbsp; Deferring JavaScript using popular plugins:&nbsp;<\/strong><\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wp-rocket.me\/\">WP Rocket<\/a>&nbsp;has an option to defer the JS&nbsp; WordPress files as shown below:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"265\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Load-JS-deferred-feature-1.png\" alt=\"Load JS deferred feature \u2013 Source: WP Rocket\u2019s dashboard\" class=\"wp-image-3528361\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Load-JS-deferred-feature-1.png 820w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Load-JS-deferred-feature-1-310x100.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Load-JS-deferred-feature-1-768x248.png 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><figcaption><em>Load JS deferred feature \u2013 Source: WP Rocket\u2019s dashboard<\/em><\/figcaption><\/figure><ul class=\"wp-block-list\"><li><a href=\"https:\/\/fr.wordpress.org\/plugins\/wp-asset-clean-up\/\">Asset CleanUp<\/a>&nbsp;\u2013 this free plugin scans and detects the content to be loaded on the page in priority. Simply select the CSS or JS code that should not be rendered first.&nbsp;<em>The plugin author recommends using Asset CleanUp with a cache plugin like WP Rocket to get the best performance results.<\/em><\/li><li><a href=\"https:\/\/wordpress.org\/plugins\/speed-booster-pack\/\">Speed Booster Pack<\/a>&nbsp;\u2013 defers JS files after the whole HTML is rendered.<\/li><li><a href=\"https:\/\/fr.wordpress.org\/plugins\/async-javascript\/\">Async JS<\/a>&nbsp;\u2013 gives you control of which scripts you want to add a \u2018defer\u2019 attribute.&nbsp;<\/li><\/ul><p><strong>\u2705&nbsp; Deferring JavaScript using the manual way<\/strong><\/p><ul class=\"wp-block-list\"><li><strong>The Defer Attribute:&nbsp;<\/strong>Use the boolean attributes \u201cdefer\u201d for the script tag in HTML, and it will defer the JS you want to target. With the defer attribute in place, the script file is downloaded in parallel while the HTML document is still parsing. The good thing is that the script is not executed until the HTML parsing is complete.<\/li><\/ul><pre class=\"wp-block-code\"><code class=\"\">&lt;script src=\u201dlibrary.js\u201d defer&gt;&lt;\/script&gt;<\/code><\/pre><p><\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"117\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/How-the-defer-attribute-works-1.png\" alt=\"How the defer attribute works \u2013 source: jozefzacek.cz\" class=\"wp-image-3528369\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/How-the-defer-attribute-works-1.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/How-the-defer-attribute-works-1-310x45.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/How-the-defer-attribute-works-1-768x112.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption>How the defer attribute works \u2013 source:&nbsp;<a href=\"https:\/\/www.josefzacek.cz\/\">jozefzacek.cz<\/a><\/figcaption><\/figure><h3 class=\"wp-block-heading\" id=\"delay-js-remove-unused-js\">2. Delay JS and Remove Unused JS<\/h3><p>Delaying JS execution and removing unused JS allows you to improve performance and your SI score. The Coverage tab in Chrome DevTools can help you find unused JavaScript code:&nbsp;<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"845\" height=\"704\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/A-code-coverage-report.png\" alt=\"A code coverage report \u2013 Source: DevTools\" class=\"wp-image-3528375\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/A-code-coverage-report.png 845w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/A-code-coverage-report-234x195.png 234w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/A-code-coverage-report-768x640.png 768w\" sizes=\"(max-width: 845px) 100vw, 845px\" \/><figcaption>A code coverage report \u2013 Source: DevTools<\/figcaption><\/figure><p>Another way to perform the audit and identify the JS to be optimized is to use PSI or GTmetrix:&nbsp;<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1335\" height=\"598\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Waterfall-feature-to-identify-the-most-heavy-JS-scripts.png\" alt=\"Waterfall feature to identify the most heavy JS scripts \u2013 source: GTmetrix\" class=\"wp-image-3528382\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Waterfall-feature-to-identify-the-most-heavy-JS-scripts.png 1335w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Waterfall-feature-to-identify-the-most-heavy-JS-scripts-310x139.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Waterfall-feature-to-identify-the-most-heavy-JS-scripts-768x344.png 768w\" sizes=\"(max-width: 1335px) 100vw, 1335px\" \/><figcaption><em>Waterfall feature to identify the most heavy JS scripts \u2013 source: GTmetrix<\/em><\/figcaption><\/figure><p><strong>\ud83d\udea8 Issues reported by Lighthouse:&nbsp;<\/strong>\u201c<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/remove-unused-javascript\/\">Reduce unused JS<\/a>\u201d and<strong>&nbsp;<\/strong>\u201cAvoid chaining critical requests\u201d.<\/p><p>\u2705&nbsp;<strong>Manual solutions:&nbsp;<\/strong><\/p><ul class=\"wp-block-list\"><li>Create a delay in JS execution with the setTimeout()method function. This will call a function after the time you\u2019ll specify in&nbsp;<strong>ms<\/strong>. You can use those&nbsp;<a href=\"https:\/\/www.w3schools.com\/js\/js_timing.asp\">code snippets<\/a>&nbsp;to delay the JS functions of your choice.&nbsp;<\/li><\/ul><p><em>Note: Lighthouse flags any file with more than 20kb of unused JS code<\/em><em>,&nbsp;<\/em><em>therefore delaying manually each JS file may be a bit off-putting.<\/em><\/p><p>\u2705&nbsp;&nbsp;<strong>Use a WordPress plugin to delay JS:<\/strong><\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wordpress.org\/plugins\/flying-scripts\/\">Flying Scripts:<\/a>&nbsp;a plugin to delay JS and give more resources to critical JS files. It helps to prioritize the JS&nbsp; content that needs to be loaded in priority.&nbsp;&nbsp;<\/li><li><a href=\"https:\/\/wordpress.org\/plugins\/wp-meteor\/\">WP Meteor<\/a>: a plugin to postpone JS scripts and greatly improve the perceived speed by visitors.<\/li><li><a href=\"https:\/\/gonzalesplugin.com\/\">Gonzales<\/a>&nbsp;\u2013 allows to conditionally disable CSS and JS.<\/li><li><a href=\"https:\/\/perfmatters.io\/\">Perfmatters<\/a>&nbsp;\u2013 helps speed up your site by disabling scripts that might not be used.&nbsp;<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"508\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Delaying-JS-with-Perfmatters.png\" alt=\"Delaying JS with Perfmatters\" class=\"wp-image-3528387\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Delaying-JS-with-Perfmatters.png 1024w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Delaying-JS-with-Perfmatters-310x154.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Delaying-JS-with-Perfmatters-768x381.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption><em>Delaying JS with Perfmatters<\/em><\/figcaption><\/figure><ul class=\"wp-block-list\"><li><a href=\"https:\/\/fr.wordpress.org\/plugins\/plugin-organizer\/\">Plugin Organizer<\/a>&nbsp;\u2013 changes the order that your plugins are loaded.<\/li><li><a href=\"https:\/\/fr.wordpress.org\/plugins\/wp-asset-clean-up\/\">Asset CleanUp<\/a>&nbsp;\u2013 lets you select the CSS\/JS that are not necessary to load.<\/li><li><a href=\"https:\/\/wp-rocket.me\/pricing\/\">WP Rocket cache plugin<\/a>&nbsp;\u2013 the best seamless solution. With the WP Rocket plugin, the Delay JS feature is used to reduce unused JS. You can easily delay the JS files with one single click:&nbsp;<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1587\" height=\"472\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/delay-js-execution-3-9-2.png\" alt=\"Delay JavaScript execution feature in WP Rocket 3.9\" class=\"wp-image-4154932\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/delay-js-execution-3-9-2.png 1587w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/delay-js-execution-3-9-2-310x92.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/delay-js-execution-3-9-2-768x228.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/delay-js-execution-3-9-2-190x57.png 190w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/delay-js-execution-3-9-2-303x90.png 303w\" sizes=\"(max-width: 1587px) 100vw, 1587px\" \/><figcaption><em>Delay JavaScript execution feature in WP Rocket 3.9<\/em><\/figcaption><\/figure><h3 class=\"wp-block-heading\" id=\"minify-js-css\">3. Minify JS and CSS<\/h3><p>Minification is the process of removing all unnecessary characters from JavaScript code without altering its functionality. In plain English, minifying your code means removing any useless punctuations and clutter such as new lines, comments, spaces, semi-colons, etc.&nbsp;<\/p><p>Reducing the bloat will free up time for the main thread.&nbsp;<strong>Again, it\u2019s about making space and time for the above-the-fold content.<\/strong><\/p><p><strong>\ud83d\udea8 Issues identified by Lighthouse:&nbsp;<\/strong>\u201c<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-javascript-execution-time\/\">Reduce JavaScript Execution Time<\/a>\u201d, \u201c<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/minimize-main-thread-work\/\">Minimize main thread work<\/a>\u201d, \u201cMinify JS\u201d, and \u201cMinify CSS\u201d.<\/p><p>Here are some options for you.<\/p><p>\u2705&nbsp;&nbsp;<strong>Minifying your code manually<\/strong>:<\/p><p><em>Important: we recommend you do a backup of your site or the file you want to compress. The best is to do such manipulation in a dev environment. If you are not tech-friendly, then we encourage you to use a plugin instead.&nbsp;<\/em><\/p><ul class=\"wp-block-list\"><li>Use a text editor like&nbsp;<a href=\"https:\/\/www.sublimetext.com\/\">Sublime Text<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/code.visualstudio.com\/\">Visual Studio Code<\/a>.<\/li><li>Open the file containing your code and remove the comments, white space, new lines, and indentations.&nbsp;<\/li><li>Shorten ID, class, or variable names as much as possible and optimize your conditional statements.&nbsp;<\/li><li>Save the file again.<\/li><\/ul><p>\u2705&nbsp;<strong>&nbsp;Minifying your code<\/strong>&nbsp;<strong>using an online tool:&nbsp;<\/strong><\/p><ul class=\"wp-block-list\"><li>Go to&nbsp;<a href=\"http:\/\/minifycode.com\/css-minifier\/\">minifycode.com<\/a>&nbsp;and open the tab of your choice: JS, CSS, HTML, etc.&nbsp;<\/li><li>Paste the code from your file into the main field and click the&nbsp;<strong>Minify JS&nbsp;<\/strong>button.<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"986\" height=\"550\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/JS-minifier-tool.png\" alt=\"JS minifier tool \u2013 Source: minifycode.com\" class=\"wp-image-3528397\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/JS-minifier-tool.png 986w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/JS-minifier-tool-310x173.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/JS-minifier-tool-768x428.png 768w\" sizes=\"(max-width: 986px) 100vw, 986px\" \/><figcaption>JS minifier tool \u2013 Source:&nbsp;<a href=\"https:\/\/minifycode.com\/\">minifycode.com<\/a><\/figcaption><\/figure><p>\u2705&nbsp;&nbsp;<strong>The Best JS and CSS minification tools:<\/strong><\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/developers.google.com\/closure\/compiler\">Closure Compiler<\/a>&nbsp;by Google, a solid option to consider that parses, and analyzes JavaScript, rewrites code when needed, and minifies JS after that.<\/li><li><a href=\"https:\/\/github.com\/mishoo\/UglifyJS\">UglifyJs<\/a>&nbsp;minifies, parses, and optimizes your JavaScript.<\/li><li><a href=\"https:\/\/wordpress.org\/plugins\/autoptimize\/\">Autoptimize<\/a>&nbsp;is a very popular option to optimize CSS and JS.<\/li><li><a href=\"https:\/\/yui.github.io\/yuicompressor\/\">YUI Compressor Tool<\/a>&nbsp;by Yahoo is both a CSS and JavaScript minification tool.<\/li><li><a href=\"https:\/\/fr.wordpress.org\/plugins\/wp-super-minify\/\">WP Super Minify<\/a>&nbsp;combines, minifies, and caches inline JavaScript and CSS files<\/li><li><a href=\"https:\/\/github.com\/cssnano\/cssnano\">CSS Nano<\/a>&nbsp;(CSS preprocessor)<\/li><li><a href=\"https:\/\/github.com\/css\/csso\">CSSO<\/a>&nbsp;(CSS preprocessor)<\/li><li><a href=\"https:\/\/github.com\/uncss\/uncss\">UNCSS<\/a>&nbsp;(CSS preprocessor)<\/li><li><a href=\"https:\/\/wp-rocket.me\/features\/\">WP Rocket<\/a>&nbsp;allows you to minify both your JS and CSS files in a couple of clicks as shown below:&nbsp;<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"928\" height=\"154\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-JavaScript-files-feature-1.png\" alt=\"Minify JavaScript files feature \u2013 WP Rocket dashboard\" class=\"wp-image-4154943\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-JavaScript-files-feature-1.png 928w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-JavaScript-files-feature-1-310x51.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-JavaScript-files-feature-1-768x127.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-JavaScript-files-feature-1-190x32.png 190w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-JavaScript-files-feature-1-542x90.png 542w\" sizes=\"(max-width: 928px) 100vw, 928px\" \/><figcaption>Minify JavaScript files feature \u2013 WP Rocket dashboard<\/figcaption><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"925\" height=\"256\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-CSS-files-feature-1.png\" alt=\"Minify CSS files feature \u2013 WP Rocket dashboard \" class=\"wp-image-4154949\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-CSS-files-feature-1.png 925w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-CSS-files-feature-1-310x86.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-CSS-files-feature-1-768x213.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-CSS-files-feature-1-190x53.png 190w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Minify-CSS-files-feature-1-325x90.png 325w\" sizes=\"(max-width: 925px) 100vw, 925px\" \/><figcaption>Minify CSS files feature \u2013 WP Rocket dashboard&nbsp;<\/figcaption><\/figure><h3 class=\"wp-block-heading\" id=\"optimize-css-delivery-unused-css\">4. Optimize CSS Delivery and Reduce Unused CSS<\/h3><p>WordPress is a huge ecosystem, and most theme authors offer lots of layout options and design effects, resulting in using a lot of CSS. The thing is, we all need CSS because it\u2019s the code that styles our web content. On the one hand, we don\u2019t want an ugly website from the 2000s, but at the same time, we need to ensure good performance. It\u2019s all about finding the perfect balance and optimizing how the CSS is rendered\/delivered on your page.&nbsp;<\/p><p>CSS files do impact your site loading time \u2014 and you should address the issue to improve performance and your SI score. Let\u2019s see the different tactics to optimize CSS delivery.<\/p><p><strong>\ud83d\udea8 Issues identified by Lighthouse:<\/strong><\/p><p>\u201c<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/minimize-main-thread-work\/\">Minimize main thread work<\/a>\u201d, \u201c<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/remove-unused-css\/\">Reduce unused CSS<\/a>\u201d, \u201c<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/eliminate-render-blocking-javascript-css\/#eliminate-render-blocking-css\">Eliminate render-blocking CSS<\/a>\u201d.<\/p><p>\u2705&nbsp;&nbsp;<strong>Manual solutions:&nbsp;<\/strong><\/p><ul class=\"wp-block-list\"><li>Combine, compress and inline your CSS scripts: it means that pages don\u2019t load with separate CSS files. Instead, all the necessary styling information for a page is included&nbsp;<strong>with&nbsp;<\/strong>the page (and no useless stylesheet will be loaded.)<\/li><li>Prioritize the CSS rules: above-the-fold content should be loaded first.<\/li><li>Remove\/Reduce unused CSS manually by going through your code.&nbsp;<\/li><\/ul><p>\u2705&nbsp;<strong>WordPress plugins you can use to optimize CSS delivery:&nbsp;<\/strong><\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wordpress.org\/plugins\/autoptimize\/\">Autoptimize<\/a>&nbsp;\u2013 simply activate the \u201coptimize CSS code\u201d checkbox in the WordPress dashboard.&nbsp;<\/li><li><a href=\"https:\/\/wordpress.org\/plugins\/speed-up-optimize-css-delivery\/\">Speed Up \u2013 Optimize CSS delivery<\/a>&nbsp;\u2013 well, it\u2019s in the name!<\/li><li><a href=\"https:\/\/wp-rocket.me\/features\/\">The WP Rocket cache plugin<\/a>&nbsp;\u2013 helps you optimize your CSS delivery by removing Unused CSS directly from the&nbsp;<strong>File Optimization<\/strong>&nbsp;tab.&nbsp;<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1379\" height=\"570\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/04\/RUCSS-3-11.png\" alt=\" Remove unused CSS \u2013 WP Rocket dashboard\u00a0\" class=\"wp-image-4316192\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/04\/RUCSS-3-11.png 1379w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/04\/RUCSS-3-11-310x128.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/04\/RUCSS-3-11-768x317.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/04\/RUCSS-3-11-145x60.png 145w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/04\/RUCSS-3-11-218x90.png 218w\" sizes=\"(max-width: 1379px) 100vw, 1379px\" \/><figcaption> Remove unused CSS \u2013 WP Rocket dashboard&nbsp; <\/figcaption><\/figure><h3 class=\"wp-block-heading\" id=\"optimize-images-lazy-load\">5. Optimize Images and Use Lazy Load Feature<\/h3><p>You need to optimize your website\u2019s images because they are one of the biggest drains on load time. Thankfully, there are a few tools helping you to resize and compress them without a perceptible loss in quality.&nbsp;<\/p><p>Another way to optimize your images is to implement a&nbsp;<strong>lazy load<\/strong>&nbsp;on them. It\u2019s a set of techniques that defer the loading of images on a page later when those images need to be visible to the user.&nbsp;<\/p><p><strong>\ud83d\udea8 Issues identified by Lighthouse:<\/strong><\/p><ul class=\"wp-block-list\"><li>Properly size images \u2013 resize large images to correct dimensions.<\/li><li>Efficiently encode images \u2013 means that you should compress them.<\/li><li>Serve images in next-gen formats \u2013 convert JPEGs\/PNGs to WebP.<\/li><li><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/defer-offscreen-images\/\">Defer offscreen images<\/a>&nbsp; \u2013 lazy load images and background images.<\/li><\/ul><p>\u2705&nbsp;&nbsp;<strong>Resizing images manually with applications and online tools:&nbsp;<\/strong><\/p><ul class=\"wp-block-list\"><li>GIMP \u2013 free for Windows &amp; Mac.<\/li><li>Preview for Mac \u2013 it\u2019s free and already installed.&nbsp;<\/li><li>Photoshop \u2013 can be overwhelming, but it\u2019s the most complete design software.<\/li><li>BeFunky \u2013 a web-based graphic design software.<\/li><li>Picmonkey.com \u2013 edit and produce visual content, including logos.&nbsp;<\/li><li>Pixlr.com \u2013 the free and easy-to-use photo editor.<\/li><li>Fotor.com \u2013 an all-in-one visual creation platform.<\/li><li>Photopea \u2013 open a PSD (photoshop) file for free directly from your browser.<\/li><\/ul><p>\u2705&nbsp;<strong>&nbsp;Compressing images with online tools&nbsp;<\/strong><strong>before<\/strong><strong>&nbsp;uploading them to your WordPress site:<\/strong><strong><\/strong><\/p><ul class=\"wp-block-list\"><li>GIMP (<em>Scale image<\/em>&nbsp;option)<\/li><li>Photoshop (<em>Save for web<\/em>&nbsp;option)<\/li><li>JPEG Optimizer (<em>basic compression<\/em>&nbsp;option)<\/li><li>Tiny PNG (<em>smart lossy compression<\/em>&nbsp;option)<\/li><li>JPEG.io (<em>advanced JPEG optimization<\/em>&nbsp;option)<\/li><\/ul><p>\u2705&nbsp;&nbsp;<strong>Optimizing images with a WordPress plugin (existing images and new ones):<\/strong><\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wordpress.org\/plugins\/imagify\/\">Imagify<\/a>&nbsp;\u2013 the most advanced tool to optimize images in one click: get lighter images without losing quality, convert WebP and compress them in bulk (Bulk Optimize feature). Imagify can optimize all image formats:&nbsp; jpg, png, pdf, and gif.&nbsp; Imagify is free for around 200 images, then you\u2019ll need to upgrade to the premium version.&nbsp;<\/li><li><a href=\"http:\/\/plugins\/\">Imsanity<\/a>&nbsp;\u2013 puts an upload size limit to your WordPress library and automatically resizes huge pictures. It also compresses JPG images in the process of resizing them using the standard WordPress compression. However, they still recommend using a more compression-oriented plugin like EWWW Image Optimizer or Imagify.<\/li><li><a href=\"https:\/\/wordpress.org\/plugins\/ewww-image-optimizer\/\">EWWW Image Optimizer<\/a>&nbsp;-automatizes everything, and images are automatically compressed, scaled to fit the page, and converted to the next-gen format.<\/li><\/ul><p>\u2705&nbsp;<strong>&nbsp;Applying lazy load on images using a WordPress plugin:<\/strong><\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wordpress.org\/plugins\/rocket-lazy-load\/\">Lazy Load by WP Rocket<\/a>&nbsp;\u2013 a free plugin helper developed by us that applies lazy load script on images. You can also replace the Youtube iframes with a preview thumbnail to speed up your website.<\/li><\/ul><figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Important:&nbsp;<\/strong>WP Rocket cache plugin comes with the LazyLoad feature, so if you are already a WP Rocket user, you don\u2019t need the Lazy Load by WP Rocket plugin.<\/td><\/tr><\/tbody><\/table><\/figure><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wp-rocket.me\/features\/\">WP Rocket<\/a>&nbsp;\u2013 our cache plugin also comes with a lazy load feature&nbsp; for photos and videos, as you can see in the Media tab below:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"998\" height=\"375\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/LazyLoad-feature.png\" alt=\"LazyLoad feature \u2013 WP Rocket dashboard\" class=\"wp-image-4154963\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/LazyLoad-feature.png 998w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/LazyLoad-feature-310x116.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/LazyLoad-feature-768x289.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/LazyLoad-feature-160x60.png 160w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/LazyLoad-feature-240x90.png 240w\" sizes=\"(max-width: 998px) 100vw, 998px\" \/><figcaption>LazyLoad feature \u2013 WP Rocket dashboard<\/figcaption><\/figure><ul class=\"wp-block-list\"><li>Other lazy load plugins: have a look at the article we wrote about the&nbsp;<a href=\"https:\/\/wp-rocket.me\/blog\/best-lazy-load-plugins-wordpress\/\">best plugins you can use to implement the lazy load feature<\/a>.<\/li><\/ul><h3 class=\"wp-block-heading\" id=\"data-compression\">6. Data Compression&nbsp;<\/h3><p>Compression is the process of reducing the file sizes of your website to improve your performance score. It\u2019s simple: as you send lighter files to your browser, the rendering time will be quicker.&nbsp;<\/p><p>HTML syntax is repetitive and uses tags like &lt;p&gt;, &lt;span&gt;, &lt;img&gt;, &lt;div&gt;, consequently, it can be useful to use a method called \u201cGZIP compression\u201d&nbsp; to compress and decompress the code.&nbsp;<\/p><p>\u2705&nbsp;&nbsp;<strong>Enabling GZIP compression using a WordPress plugin:<\/strong><\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wordpress.org\/plugins\/enable-gzip-compression\/\">GZIP Compression Plugin<\/a>&nbsp;gives you the power to enable and disable Gzip compression on your WordPress site.<\/li><li><a href=\"https:\/\/wp-rocket.me\/features\/\">WP Rocket<\/a>&nbsp;enables the&nbsp;<a href=\"https:\/\/docs.wp-rocket.me\/article\/63-enable-gzip-compression#htaccess\">GZIP feature<\/a>&nbsp;in the .htaccess file using the mod_deflate module right upon activation of the plugin. One more time, you can opt for our&nbsp;<a href=\"https:\/\/wp-rocket.me\/features\/\">all-in-one solution<\/a>&nbsp;instead of installing several plugins.&nbsp;<\/li><\/ul><div id=\"om-nyrydv5iync8zrrulm5i-holder\"><\/div>\n\t<script>(function (d, u, ac) {\n\t\t\tvar s = d.createElement('script')\n\t\t\ts.type = 'text\/javascript'\n\t\t\ts.src = 'https:\/\/a.omappapi.com\/app\/js\/api.min.js'\n\t\t\ts.async = true\n\t\t\ts.dataset.user = u\n\t\t\ts.dataset.campaign = ac\n\t\t\td.getElementsByTagName('head')[0].appendChild(s)\n\t\t})(document, 20440, 'nyrydv5iync8zrrulm5i')<\/script><h3 class=\"wp-block-heading\" id=\"use-cdn\">7. Use a CDN (Content Delivery Network)<\/h3><p>A CDN allows you to distribute the files from several servers located in different places around the world. Thanks to this system, the loading time of your site is improved, especially for international visitors.&nbsp;We recommend reading our article to learn more about <a href=\"https:\/\/rocketcdn.me\/what-is-a-cdn\/\">how a CDN works<\/a>.<\/p><p>\u2705&nbsp;&nbsp;<strong>Using a WordPress plugin to activate your CDN:<\/strong><\/p><ul class=\"wp-block-list\"><li>WP Rocket has two options:<\/li><\/ul><p>1. Subscribe for $7,99\/month to&nbsp;<a href=\"https:\/\/rocketcdn.me\/\">RocketCDN<\/a>. The CDN is automatically configured with the rest of the WP Rocket features, which is very convenient.&nbsp;<\/p><p>2. Integrate your own CDN directly in the WordPress dashboard.&nbsp;<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"793\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Showing-both-CDN-options.png\" alt=\"Showing both CDN options \u2013 Source: CDN tab in WP Rocket dashboard\" class=\"wp-image-3528429\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Showing-both-CDN-options.png 1045w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Showing-both-CDN-options-257x195.png 257w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Showing-both-CDN-options-768x583.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><figcaption>Showing both CDN options \u2013 Source: CDN tab in WP Rocket dashboard<\/figcaption><\/figure><h3 class=\"wp-block-heading\" id=\"preload-optimize-fonts\">8. Preload and Optimize Fonts<\/h3><p>Fonts preloading means that you \u201cask\u201d a visitor\u2019s browser to load the important fonts early on and delay all the secondary ones. Speed Index relies on what happens above the fold, consequently, preloading the fonts ensures that the visible content is displayed properly for the visitors.&nbsp;<\/p><p><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/improve-cumulative-layout-shift\/#section-5\">Custom web fonts can also cause sudden layout shifts<\/a>&nbsp;and Google does not really like this. In fact, your visitors may face two main issues:&nbsp;<\/p><ul class=\"wp-block-list\"><li>FOUT (the style is not applied so the font is unattractive)<\/li><li>FOIT (invisible text and high waiting time to see the font on the screen)&nbsp;<\/li><\/ul><p>To maintain a good user experience and avoid such cases we recommend preloading your web fonts.&nbsp;<\/p><p><strong>\ud83d\udea8 Issue identified by Lighthouse:&nbsp;<\/strong>\u201c<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/preload-key-requests-wordpress\/\">Preload key requests<\/a>\u201d, and \u201c<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/ensure-text-remains-visible-webfont-load\/\">Ensure text remains visible during webfont load<\/a>\u201d.<\/p><p>\u2705&nbsp;<strong>Using a manual solution to preload fonts:&nbsp;<\/strong><\/p><p>You can use the rel=\u201dpreload\u201d tag and attributes to ask your browser to preload the font.<\/p><p>Real life example:&nbsp;<\/p><pre class=\"wp-block-code\"><code class=\"\">&lt;link rel=\u201dpreload\u201d as=\u201dfont\u201d href=\u201d\/fonts\/custom-font.woff\u201d type=\u201dfont\/woff2\u2033 crossorigin=\u201danonymous\u201d&gt;<\/code><\/pre><p><\/p><p><em>Where to put the rel=\u201dpreload\u201d tag?<\/em><\/p><p>Between the head tags on your HTML for each CSS script and font files loaded on the site.<\/p><p>\u2705&nbsp;<strong>Using a WordPress plugin to preload fonts:<\/strong><\/p><ul class=\"wp-block-list\"><li>Use&nbsp;<a href=\"https:\/\/wp-rocket.me\/features\/\">WP Rocket<\/a>&nbsp;to preload fonts. Go to the \u201cPreload tab\u201d, scroll to the \u201cPreload Fonts\u201d and simply specify the URLs of the font files you want to preload:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"424\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts.png\" alt=\"Preload Fonts \u2013 WP Rocket dashboard\" class=\"wp-image-4154977\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts.png 850w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts-310x155.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts-768x383.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts-120x60.png 120w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts-180x90.png 180w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><figcaption><em>Preload Fonts \u2013 WP Rocket dashboard<\/em><\/figcaption><\/figure><h2 class=\"wp-block-heading\" id=\"section-6\">How to Increase Speed Index with WP Rocket: Before &amp; After Results<\/h2><p>You can reduce your Speed Index grade by using WP Rocket,\u00a0<a href=\"https:\/\/wp-rocket.me\/blog\/best-caching-plugins-wordpress\/#wp-rocket\">https:\/\/wp-rocket.me\/blog\/best-caching-plugins-wordpress\/#wp-rocket<\/a>the best caching plugin for WordPress.<br><br>Indeed, anything going toward JS\/CSS files optimization and font preloading will most likely improve SI. Good news: each feature of WP Rocket has been designed for web performance!<\/p><p>Don\u2019t just take our word for it. Let us show you how a website performs before and after using WP Rocket.&nbsp;<\/p><h3 class=\"wp-block-heading\">Analyzing the Impact of WP Rocket on SI Score<\/h3><p>We\u2019ve conducted a performance audit for a French caterer named \u201c<a href=\"https:\/\/lepointgourmand.com\/\">Le point Gourmand<\/a>\u2026\u201d using the&nbsp;<a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/insights\/?hl=en&amp;url=https%3A%2F%2Flepointgourmand.com%2F&amp;tab=desktop\">Google PageSpeed Insights<\/a>&nbsp;tool. Let\u2019s have a look at our findings.<\/p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/OzD1Ka6ZgO9R_TnPdp68jsHyjhKihzJbnZto8iGZFGGtmm9WURSBfRuxZSmZqr-qn11temawa3vn78A1jXZ854GexUR38s4zjBJVT507X8wG842BY2Aay_26Yn3YIAr5KcgXfSFi\" alt=\"\"\/><\/figure><p><strong>Lighthouse\u2019s score before WP Rocket: 51\/100<\/strong><\/p><ul class=\"wp-block-list\"><li><strong>In orange:&nbsp;&nbsp;<\/strong>TTI was 7,0 s, TBT was 480 ms<\/li><li><strong>In red:&nbsp; Speed Index<\/strong>&nbsp;was 6,0 s and LCP 7,1 s<\/li><\/ul><p><strong>Lighthouse\u2019s score upon activation of WP Rocket: 95\/100<\/strong><\/p><ul class=\"wp-block-list\"><li><strong>In Green: TTI,&nbsp;<\/strong>FCP, TBT, CLS, and\u2026<strong>&nbsp;Speed Index!&nbsp;<\/strong><\/li><\/ul><p>My website was not in very good shape before activating WP Rocket and many issues were identified by PSI:&nbsp;<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"676\" height=\"299\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Issues-identified-by-Lighthouse-extract.png\" alt=\"Issues identified by Lighthouse (extract)- PSI\" class=\"wp-image-4154986\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Issues-identified-by-Lighthouse-extract.png 676w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Issues-identified-by-Lighthouse-extract-310x137.png 310w\" sizes=\"(max-width: 676px) 100vw, 676px\" \/><figcaption><em>Issues identified by Lighthouse (extract)- PSI<\/em><\/figcaption><\/figure><h3 class=\"wp-block-heading\">Enabling the WP Rocket Performance Features<\/h3><p>Upon activating WP Rocket, I enabled a few options and followed the list of optimization techniques recommended in the previous section.<\/p><p>Below are all the WP Rocket options that have used to be in the green zone:&nbsp;<\/p><ul class=\"wp-block-list\"><li><strong>Optimization of my JS files<\/strong>&nbsp;(Load JS deferred, delay JS execution, and remove unused JS)<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"886\" height=\"345\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/JS-files-optimization-tab.png\" alt=\"JS files optimization tab \u2013 WP Rocket\u2019s dashboard\" class=\"wp-image-4154992\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/JS-files-optimization-tab.png 886w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/JS-files-optimization-tab-310x121.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/JS-files-optimization-tab-768x299.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/JS-files-optimization-tab-154x60.png 154w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/JS-files-optimization-tab-231x90.png 231w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><figcaption><em>JS files optimization tab \u2013 WP Rocket\u2019s dashboard<\/em><\/figcaption><\/figure><ul class=\"wp-block-list\"><li><strong>Minifying, combining CSS files, and optimizing the CSS delivery<\/strong>:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"857\" height=\"545\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/css-files-optimization-1.png\" alt=\"CSS files optimization \u2013 WP Rocket\u2019s dashboard\" class=\"wp-image-4155000\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/css-files-optimization-1.png 857w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/css-files-optimization-1-307x195.png 307w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/css-files-optimization-1-768x488.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/css-files-optimization-1-94x60.png 94w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/css-files-optimization-1-142x90.png 142w\" sizes=\"(max-width: 857px) 100vw, 857px\" \/><figcaption>CSS<em>&nbsp;files optimization \u2013 WP Rocket\u2019s dashboard<\/em><\/figcaption><\/figure><ul class=\"wp-block-list\"><li><strong>Removing\/Reducing Unused CSS<\/strong>:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1360\" height=\"536\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Reduce-Unused-CSS-1.png\" alt=\"Remove\/Reduce Unused CSS \u2013 WP Rocket\u2019s dashboard\" class=\"wp-image-4155007\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Reduce-Unused-CSS-1.png 1360w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Reduce-Unused-CSS-1-310x122.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Reduce-Unused-CSS-1-768x303.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Reduce-Unused-CSS-1-152x60.png 152w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Reduce-Unused-CSS-1-228x90.png 228w\" sizes=\"(max-width: 1360px) 100vw, 1360px\" \/><figcaption><em>Remove\/Reduce Unused CSS \u2013 WP Rocket\u2019s dashboard<\/em><\/figcaption><\/figure><figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Before using WP Rocket<\/strong><br><br>Two opportunities were identified: \u201cReduce unused CSS\u201d and \u201cReduce JS issues\u201d.<\/td><td><strong>After optimizing my files with WP Rocket \ud83d\ude80<\/strong><br><br>\u201cReduce unused CSS\u201d and \u201cReduce JS issues\u201d are now in the passed audit section.&nbsp;<\/td><\/tr><tr><td><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/A2MKx8td9cTc5SoaAvODpR7xajVg9zH1K6OO0C6xwBZRAkCILR65sYkmj_3raEGhEPv01vCYRRqVY3WeZCzo4y-G59PSl2EPaPs6MnH1hh46QVDoGPDusLy7RqlJGR34YaNhm48Z\" width=\"262\" height=\"112\"><\/td><td><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/rEg45PJJQoyR9tyDgQ2w73wSLXnqEjH3k58gHHiFnbtOzSyexd3VqXZqSB1tt8sRiqG6BC1Uz7zOe4DxYstSduvOIGji0YCykgF0j7ScHPLJzQmQ39cQHGkKsObI7qkiEoti1t-i\" width=\"262\" height=\"128\"><\/td><\/tr><\/tbody><\/table><\/figure><ul class=\"wp-block-list\"><li><strong>Image compression<\/strong>. I have used the \u201caggressive\u201d Imagify setting for the second audit:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"893\" height=\"740\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Using-aggressive-level-.png\" alt=\"Using \u201caggressive\u201d level \u2013 Source: Imagify Dashboard\" class=\"wp-image-4155014\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Using-aggressive-level-.png 893w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Using-aggressive-level--235x195.png 235w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Using-aggressive-level--768x636.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Using-aggressive-level--72x60.png 72w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Using-aggressive-level--109x90.png 109w\" sizes=\"(max-width: 893px) 100vw, 893px\" \/><figcaption><em>Using \u201caggressive\u201d level \u2013 Source: Imagify Dashboard<\/em><\/figcaption><\/figure><ul class=\"wp-block-list\"><li><strong>Preloading fonts<\/strong>:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"424\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts-1.png\" alt=\"Adding the fonts to preload in WP Rocket dashboard according to PSI recommendations\" class=\"wp-image-4155021\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts-1.png 850w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts-1-310x155.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts-1-768x383.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts-1-120x60.png 120w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/Preload-Fonts-1-180x90.png 180w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><figcaption><em>Adding the fonts to preload in WP Rocket dashboard according to PSI recommendations<\/em><\/figcaption><\/figure><figure class=\"wp-block-table\"><table><tbody><tr><td>\ud83d\udca1&nbsp;<strong>Conclusion upon activation of WP Rocket:&nbsp;<\/strong>My \u201cpassed audits\u201d list is much better and many issues like \u201cMinify JS\u201d, \u201cMinimize main-thread work,\u201d \u201cRemove unused JS\u201d or \u201cEliminate render-blocking resources\u201d are gone.&nbsp;My SI score is in the green zone.&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"673\" height=\"766\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/The-passed-audits-list-has-grown-after-using-WP-Rocket-extract.png\" alt=\"\u201dThe passed audits\u201d list has grown after using WP Rocket (extract) \u2013 Source: PSI\" class=\"wp-image-4155029\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/The-passed-audits-list-has-grown-after-using-WP-Rocket-extract.png 673w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/The-passed-audits-list-has-grown-after-using-WP-Rocket-extract-171x195.png 171w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/The-passed-audits-list-has-grown-after-using-WP-Rocket-extract-53x60.png 53w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2022\/03\/The-passed-audits-list-has-grown-after-using-WP-Rocket-extract-79x90.png 79w\" sizes=\"(max-width: 673px) 100vw, 673px\" \/><figcaption>\u201dThe passed audits\u201d list has grown after using WP Rocket (extract) \u2013 Source: PSI<\/figcaption><\/figure><h2 class=\"wp-block-heading\" id=\"section-7\">Wrapping Up&nbsp;<\/h2><p>Optimizing the Speed Index metric can help your visitors perceive a noticeable improvement in&nbsp;<strong>how fast your content appears&nbsp;<\/strong>above the fold.&nbsp;<\/p><p>Speed Index indicates the visual completeness of the page, but it does not indicate if the content is critical or non-critical for the user. Therefore, it\u2019s not a replacement for the other Lighthouse metrics.&nbsp;<\/p><p>The most convenient way to reduce your SI score is by installing&nbsp;<a href=\"https:\/\/wp-rocket.me\/features\/\">WP Rocket<\/a>, which applies 80% of web performance best practices upon activation.&nbsp;<\/p><p>Another benefit is that each Lighthouse\u2019s KPI can be optimized thanks to the wide range of features offered by WP Rocket. You don\u2019t need to supercharge your WordPress site with several performance plugins, WP Rocket is enough to get you closer to the green zone of Google PageSpeed Insights.<\/p><p><strong>You can always count on our 100% money-back guarantee<\/strong>&nbsp;within 14 days of purchase if you feel like WP Rocket was not useful.&nbsp;<\/p><p>\ud83d\ude80 Boost your speed and the<strong>&nbsp;user-perceived<\/strong>&nbsp;performance right now!&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Want to know how to improve Speed Index and make your site faster? Take a look at our in-depth guide and find out how to optimize your site performance. <\/p>\n","protected":false},"template":"","lighthouse_performance":[],"class_list":["post-4154866","lp_resources","type-lp_resources","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What&#039;s Speed Index and How to Improve It on WordPress<\/title>\n<meta name=\"description\" content=\"Want to know how to improve Speed Index and make your site faster? Take a look at our in-depth guide and find out how to optimize your site performance.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What&#039;s Speed Index and How to Improve It on WordPress\" \/>\n<meta property=\"og:description\" content=\"Want to know how to improve Speed Index and make your site faster? Take a look at our in-depth guide and find out how to optimize your site performance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Rocket\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-27T12:01:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-SI-and-the-visual-completion.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@wp_rocket\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"26 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/\",\"url\":\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/\",\"name\":\"What's Speed Index and How to Improve It on WordPress\",\"isPartOf\":{\"@id\":\"https:\/\/wp-rocket.me\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-SI-and-the-visual-completion.png\",\"datePublished\":\"2022-03-10T08:24:32+00:00\",\"dateModified\":\"2022-12-27T12:01:57+00:00\",\"description\":\"Want to know how to improve Speed Index and make your site faster? Take a look at our in-depth guide and find out how to optimize your site performance.\",\"breadcrumb\":{\"@id\":\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/#primaryimage\",\"url\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-SI-and-the-visual-completion.png\",\"contentUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-SI-and-the-visual-completion.png\",\"width\":750,\"height\":238,\"caption\":\"Explaining SI and the visual completion- Source: fasterize\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wp-rocket.me\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lighthouse Score\",\"item\":\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Improve Speed Index (SI) on WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wp-rocket.me\/#website\",\"url\":\"https:\/\/wp-rocket.me\/\",\"name\":\"WP Rocket\",\"description\":\"Plugin d&#039;optimisation de sites WordPress\",\"publisher\":{\"@id\":\"https:\/\/wp-rocket.me\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wp-rocket.me\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wp-rocket.me\/#organization\",\"name\":\"WP Rocket\",\"url\":\"https:\/\/wp-rocket.me\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png\",\"contentUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png\",\"width\":150,\"height\":41,\"caption\":\"WP Rocket\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829\",\"https:\/\/x.com\/wp_rocket\",\"https:\/\/www.youtube.com\/channel\/UC1ozThXHd1IWIZ5wkshgp_Q\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What's Speed Index and How to Improve It on WordPress","description":"Want to know how to improve Speed Index and make your site faster? Take a look at our in-depth guide and find out how to optimize your site performance.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/","og_locale":"en_US","og_type":"article","og_title":"What's Speed Index and How to Improve It on WordPress","og_description":"Want to know how to improve Speed Index and make your site faster? Take a look at our in-depth guide and find out how to optimize your site performance.","og_url":"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/","og_site_name":"WP Rocket","article_publisher":"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","article_modified_time":"2022-12-27T12:01:57+00:00","og_image":[{"url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-SI-and-the-visual-completion.png"}],"twitter_card":"summary_large_image","twitter_site":"@wp_rocket","twitter_misc":{"Est. reading time":"26 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/","url":"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/","name":"What's Speed Index and How to Improve It on WordPress","isPartOf":{"@id":"https:\/\/wp-rocket.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/#primaryimage"},"image":{"@id":"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/#primaryimage"},"thumbnailUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-SI-and-the-visual-completion.png","datePublished":"2022-03-10T08:24:32+00:00","dateModified":"2022-12-27T12:01:57+00:00","description":"Want to know how to improve Speed Index and make your site faster? Take a look at our in-depth guide and find out how to optimize your site performance.","breadcrumb":{"@id":"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/#primaryimage","url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-SI-and-the-visual-completion.png","contentUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/06\/Explaining-SI-and-the-visual-completion.png","width":750,"height":238,"caption":"Explaining SI and the visual completion- Source: fasterize"},{"@type":"BreadcrumbList","@id":"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wp-rocket.me"},{"@type":"ListItem","position":2,"name":"Lighthouse Score","item":"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/"},{"@type":"ListItem","position":3,"name":"How to Improve Speed Index (SI) on WordPress"}]},{"@type":"WebSite","@id":"https:\/\/wp-rocket.me\/#website","url":"https:\/\/wp-rocket.me\/","name":"WP Rocket","description":"Plugin d&#039;optimisation de sites WordPress","publisher":{"@id":"https:\/\/wp-rocket.me\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wp-rocket.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wp-rocket.me\/#organization","name":"WP Rocket","url":"https:\/\/wp-rocket.me\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/","url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png","contentUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png","width":150,"height":41,"caption":"WP Rocket"},"image":{"@id":"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","https:\/\/x.com\/wp_rocket","https:\/\/www.youtube.com\/channel\/UC1ozThXHd1IWIZ5wkshgp_Q"]}]}},"_links":{"self":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/lp_resources\/4154866"}],"collection":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/lp_resources"}],"about":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/types\/lp_resources"}],"wp:attachment":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/media?parent=4154866"}],"wp:term":[{"taxonomy":"lighthouse_performance","embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/lighthouse_performance?post=4154866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}