{"id":6292251,"date":"2023-11-22T16:46:48","date_gmt":"2023-11-22T15:46:48","guid":{"rendered":"https:\/\/wp-rocket.me\/?p=6292251"},"modified":"2024-11-05T13:39:32","modified_gmt":"2024-11-05T12:39:32","slug":"slow-wordpress-website","status":"publish","type":"post","link":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/","title":{"rendered":"Why is Your WordPress Website Slow? (+ How to Fix it)"},"content":{"rendered":"<p>If you&#8217;ve found yourself frustrated by sluggish loading times and wondering, &#8220;Why is my WordPress website slow?&#8221;\u2014you&#8217;re not alone. Whether you&#8217;re a seasoned WordPress user or a novice, understanding the factors contributing to bad performance is the first step towards reclaiming the speed and efficiency your website deserves! The loading time of your WordPress website plays a crucial role in shaping user experiences and determining your online success.&nbsp;<\/p><p>This article reveals the most common reasons behind a slow WordPress website, delving into the common culprits that hinder performance and offering practical solutions to accelerate your site&#8217;s loading times.&nbsp;<\/p><h2 class=\"wp-block-heading\">11 Reasons Why Your WordPress Website is Slow<\/h2><p>To fix a WordPress site loading slowly, you need to explore each factor that impacts performance, from code optimization to server-side issues. <\/p><p>Watch the video or keep reading and start by discovering the most common reasons behind a slow website.<\/p><figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Why Your WordPress Website is Slow + How to Boost Your WordPress Site Speed \ud83d\ude80\" width=\"720\" height=\"405\" src=\"https:\/\/www.youtube.com\/embed\/SxuDyZUEpuc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure><h2 class=\"wp-block-heading\">1. You\u2019re Using a Heavy Theme<\/h2><p>A heavy WordPress theme, characterized by excessive code, large file sizes, and complex design elements, can significantly impact website performance. Key issues associated with heavy themes include higher page load times, higher bounce rates, and potential SEO penalties. To avoid this, it&#8217;s crucial to prioritize themes with efficient coding, optimized assets, and a balance between aesthetics and performance to ensure a smooth and responsive website.&nbsp;<\/p><h3 class=\"wp-block-heading\">How To Test Your WordPress Theme Speed<\/h3><p>To measure your WordPress theme&#8217;s performance, follow these steps:<\/p><ol class=\"wp-block-list\"><li>Set up a new WordPress installation without any content<\/li>\n\n<li>Install and activate your selected theme (a<em>void adding demo content or making adjustments to the settings)<\/em><\/li>\n\n<li>Use tools such as <a href=\"https:\/\/gtmetrix.com\/\">GTmetrix<\/a> and <a href=\"https:\/\/pagespeed.web.dev\/\">PageSpeed Insights<\/a> to test your website to have results for desktop and mobile versions.<\/li>\n\n<li>Check the key performance indicators (KPIs), including <a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/\">Core Web Vitals<\/a>, <a href=\"https:\/\/wp-rocket.me\/lighthouse-performance-score-wordpress\/improve-speed-index\/\">Speed index<\/a>, total page loading time, the number of HTTP requests, and page size.<\/li><\/ol><h3 class=\"wp-block-heading\">How To Fix a Slow WordPress Theme&nbsp;<\/h3><ul class=\"wp-block-list\"><li>Check if the theme has some performance settings you can tweak. Divi has a performance tab that allows you to turn some options on and off:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"417\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Performance-tab-Source-Divi.png\" alt=\"Performance tab - Source: Divi\n\" class=\"wp-image-6292364\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Performance-tab-Source-Divi.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Performance-tab-Source-Divi-310x162.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Performance-tab-Source-Divi-768x400.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Performance-tab-Source-Divi-115x60.png 115w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Performance-tab-Source-Divi-173x90.png 173w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Performance tab &#8211; Source: <a href=\"https:\/\/www.elegantthemes.com\/\">Divi<\/a><br><\/figcaption><\/figure><ul class=\"wp-block-list\"><li>Use caching and GZIP compression and run the performance tests again. If nothing changes, then we recommend switching the theme.&nbsp;<\/li><\/ul><figure class=\"wp-block-table\"><table><tbody><tr><td>\ud83d\ude80 You can use <a href=\"https:\/\/wp-rocket.me\/features\/\">WP Rocket<\/a>, <a href=\"https:\/\/wp-rocket.me\/wordpress-cache\/best-caching-plugins\/\">one of the best caching for WordPress<\/a>, which applies caching and GZIP compression upon its activation.&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\">2. You Are Not Using the Right Hosting Plan<\/h2><p>Choosing the right WordPress hosting is crucial for your website&#8217;s performance, security, and overall success. Here are some key factors to consider when selecting a WordPress hosting provider:<\/p><ul class=\"wp-block-list\"><li><strong>Type of hosting: <\/strong>Shared, managed WordPress hosting, or dedicated hosting. For example, dedicated hosting will provide the highest level of performance but also the highest cost.<\/li>\n\n<li><strong>Resource limits: <\/strong>Be aware of any limitations on bandwidth, storage, and other resources in the hosting plan. If you plan to develop a site with videos, images, and WooCommerce with hundreds of products, you must get a plan matching your needs.&nbsp;<\/li>\n\n<li><strong>Scalability: <\/strong>Ensure the hosting plan allows easy scalability as your website grows. If you have a peak of visitors during a special promotion, for example, you don\u2019t want to end up with a malfunctioning site that takes forever to load (or does not load at all).<\/li>\n\n<li><strong>Uptime and reliability: <\/strong>Look for a hosting provider with a high uptime guarantee (99.9% or higher) and check customer reviews for insights into the host&#8217;s reliability.<\/li>\n\n<li><strong>WordPress-oriented:<\/strong> If you are using WordPress, we recommend you opt for a hosting dedicated to WordPress. <a href=\"https:\/\/kinsta.com\/\">Kinsta<\/a> is a great example; &nbsp;you\u2019ll get features like one-click WordPress installation, staging environments, and automatic updates, which are crucial to maintaining performance.<\/li><\/ul><h3 class=\"wp-block-heading\">How to Check Your Hosting Provider Speed<\/h3><ol class=\"wp-block-list\"><li>Browse the hosting provider&#8217;s website:<\/li><\/ol><ul class=\"wp-block-list\"><li>Begin by navigating to the hosting provider&#8217;s website. Since hosting companies host their pages on their servers, the issue is likely with the company itself if you notice slow performance on their main page.<\/li>\n\n<li><a href=\"https:\/\/wp-rocket.me\/blog\/how-to-test-wordpress-site-performance-measure-speed-results\/\">Conduct a free website speed test<\/a> on the provider&#8217;s site for more accurate results using PageSpeed Insights. You can then compare these results with the speed test conducted on your website.<\/li><\/ul><ol start=\"2\" class=\"wp-block-list\"><li>Check your WordPress site&#8217;s Time To First Byte (TTFB) using PageSpeed Insights. This KPI assesses the duration from sending a request to your website until receiving the initial byte of information.&nbsp;<\/li><\/ol><p>The hosting company is likely at fault if the interval for obtaining the first byte is long. Ideally, your site should strive for a Time To First Byte of 0.8 seconds or less.<\/p><figure class=\"wp-block-table\"><table><tbody><tr><td>\ud83d\udca1 Hint: If your TTFB is higher than 0.8 seconds, the issue may come from your host. It\u2019s worth contacting them.<\/td><\/tr><\/tbody><\/table><\/figure><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"365\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Measure-TTFB-Source-PageSpeed-Insights-.png\" alt=\"Measure TTFB - Source: PageSpeed Insights\n\" class=\"wp-image-6292382\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Measure-TTFB-Source-PageSpeed-Insights-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Measure-TTFB-Source-PageSpeed-Insights--310x141.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Measure-TTFB-Source-PageSpeed-Insights--768x350.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Measure-TTFB-Source-PageSpeed-Insights--132x60.png 132w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Measure-TTFB-Source-PageSpeed-Insights--197x90.png 197w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Measure TTFB &#8211; Source: <a href=\"https:\/\/pagespeed.web.dev\/\">PageSpeed Insights<\/a><br><\/figcaption><\/figure><figure class=\"wp-block-table\"><table><tbody><tr><td>Looking for a reliable hosting provider?&nbsp;\ud83d\ude4c&nbsp; We have curated a list of the <a href=\"https:\/\/wp-rocket.me\/blog\/best-wordpress-hosting-services-small-businesses-blogs\/\">best WordPress hosting services<\/a> for you.<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\">3. You\u2019re Not Caching Your Pages<\/h2><p>Caching is one of the best techniques to fix a slow WordPress site by storing static copies of web pages and reducing the need to regenerate content for each visitor. Thanks to caching, you can also decrease the load on the server and improve user experience by delivering pre-rendered pages promptly, especially for frequently accessed content.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"533\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Caching-explained-Source-WP-Rocket-.png\" alt=\"Caching explained - Source: WP Rocket\n\" class=\"wp-image-6292395\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Caching-explained-Source-WP-Rocket-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Caching-explained-Source-WP-Rocket--293x195.png 293w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Caching-explained-Source-WP-Rocket--768x512.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Caching-explained-Source-WP-Rocket--90x60.png 90w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Caching-explained-Source-WP-Rocket--135x90.png 135w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Caching explained &#8211; Source: <a href=\"https:\/\/wp-rocket.me\/\">WP Rocket<\/a><br><\/figcaption><\/figure><h3 class=\"wp-block-heading\">How To Check if You Are Using Caching<\/h3><p>Use <a href=\"https:\/\/pagespeed.web.dev\/\">PageSpeed Insights<\/a> and run an audit of your website. If the \u201c<a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/serve-static-assets-with-an-efficient-cache-policy\/\">Serve static assets with an efficient cache policy<\/a>\u201d warning comes up, then you have one reason more to install a cache.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"189\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-if-you-need-caching-Source-PageSpeed-Insights-.png\" alt=\"Checking if you need caching - Source: PageSpeed Insights\n\" class=\"wp-image-6292406\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-if-you-need-caching-Source-PageSpeed-Insights-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-if-you-need-caching-Source-PageSpeed-Insights--310x73.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-if-you-need-caching-Source-PageSpeed-Insights--768x181.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-if-you-need-caching-Source-PageSpeed-Insights--190x45.png 190w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-if-you-need-caching-Source-PageSpeed-Insights--381x90.png 381w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Checking if you need caching &#8211; Source: <a href=\"https:\/\/pagespeed.web.dev\/\">PageSpeed Insights<\/a><br><\/figcaption><\/figure><p>As an alternative, you can open the developer Chrome tab and select <strong>View Source:<\/strong><\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"498\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/View-source-from-Google-Developers-tools-Source-Google-Developer-Tools-.png\" alt=\"View source from Google Developers tools - Source: Google Developer Tools\n\" class=\"wp-image-6292414\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/View-source-from-Google-Developers-tools-Source-Google-Developer-Tools-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/View-source-from-Google-Developers-tools-Source-Google-Developer-Tools--310x193.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/View-source-from-Google-Developers-tools-Source-Google-Developer-Tools--768x478.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/View-source-from-Google-Developers-tools-Source-Google-Developer-Tools--96x60.png 96w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/View-source-from-Google-Developers-tools-Source-Google-Developer-Tools--145x90.png 145w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">View source from Google Developers tools &#8211; Source: Google Developer Tools<br><\/figcaption><\/figure><p>Scroll down to the end of the page. If you have activated a cache plugin, you should see it at the end. Here\u2019s an example with WP Rocket:<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"484\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Code-source-to-check-if-caching-works-Source-Google-Dev-Tools-.png\" alt=\"Code source to check if caching works - Source: Google Dev Tools\n\" class=\"wp-image-6292421\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Code-source-to-check-if-caching-works-Source-Google-Dev-Tools-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Code-source-to-check-if-caching-works-Source-Google-Dev-Tools--310x188.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Code-source-to-check-if-caching-works-Source-Google-Dev-Tools--768x465.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Code-source-to-check-if-caching-works-Source-Google-Dev-Tools--99x60.png 99w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Code-source-to-check-if-caching-works-Source-Google-Dev-Tools--149x90.png 149w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Code source to check if caching works &#8211; Source: Google Dev Tools<br><\/figcaption><\/figure><h3 class=\"wp-block-heading\">How To Implement Caching<\/h3><p>As mentioned above, you can use a plugin like <a href=\"https:\/\/wp-rocket.me\/features\/\">WP Rocket<\/a> to implement caching and fix a slow website. The plugin activates caching upon its simple activation. WP Rocket automatically generates static HTML pages for dynamic WordPress sites. When a user visits a page, the cached HTML version is served, making the page load faster \u2013 as well as the entire website.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"465\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Automated-caching-upon-activation-Source-WP-Rocket-.png\" alt=\"Automated caching upon activation - Source: WP Rocket\n\" class=\"wp-image-6292434\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Automated-caching-upon-activation-Source-WP-Rocket-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Automated-caching-upon-activation-Source-WP-Rocket--310x180.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Automated-caching-upon-activation-Source-WP-Rocket--768x446.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Automated-caching-upon-activation-Source-WP-Rocket--103x60.png 103w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Automated-caching-upon-activation-Source-WP-Rocket--155x90.png 155w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Automated caching upon activation &#8211; Source: <a href=\"https:\/\/wp-rocket.me\/\">WP Rocket<\/a><br><\/figcaption><\/figure><h2 class=\"wp-block-heading\">4. You\u2019re Not Using GZIP Compression<\/h2><p>GZIP compression improves performance by reducing the size of data transmitted over the network. It compresses files or data before they are sent and decompresses them on the receiving end. GZIP compression reduces file sizes by up to 90%, significantly decreasing the time it takes to transmit HTML, CSS, and JS files.&nbsp;&nbsp;<\/p><figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1246\" height=\"832\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-compression.png\" alt=\"GZIP compression in a nutshell - Source: WP Rocket\n\" class=\"wp-image-6292450\" style=\"width:490px\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-compression.png 1246w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-compression-292x195.png 292w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-compression-768x513.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-compression-90x60.png 90w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-compression-135x90.png 135w\" sizes=\"(max-width: 1246px) 100vw, 1246px\" \/><figcaption class=\"wp-element-caption\">GZIP compression in a nutshell &#8211; Source: WP Rocket<br><\/figcaption><\/figure><h3 class=\"wp-block-heading\">How to Check if You Are Using GZIP Compression<\/h3><p>Head to PageSpeed Insights and run an audit of your site. If the following warning &#8211; Enable text compression &#8211; appears, you must implement it.&nbsp;<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"240\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-needed-Source-PageSpeed-Insights-.png\" alt=\"GZIP compression needed - Source: PageSpeed Insights\n\" class=\"wp-image-6292463\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-needed-Source-PageSpeed-Insights-.png 795w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-needed-Source-PageSpeed-Insights--310x94.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-needed-Source-PageSpeed-Insights--768x232.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-needed-Source-PageSpeed-Insights--190x57.png 190w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/GZIP-needed-Source-PageSpeed-Insights--298x90.png 298w\" sizes=\"(max-width: 795px) 100vw, 795px\" \/><figcaption class=\"wp-element-caption\">GZIP compression needed &#8211; Source: <a href=\"https:\/\/pagespeed.web.dev\/\">PageSpeed Insights<\/a><br><\/figcaption><\/figure><h3 class=\"wp-block-heading\">How To Add GZIP Compression and Enabling Text Compression&nbsp;<\/h3><p>The easiest way to enable text compression, such as GZIP compression, on your WordPress site is by using a caching or performance optimization plugin. You can also opt for the manual way if you are comfortable coding. We\u2019ll explore both techniques so you can choose which direction to take.&nbsp; &nbsp;<\/p><h3 class=\"wp-block-heading\">How to Add GZIP Compression Manually<\/h3><ol class=\"wp-block-list\"><li>Enable GZIP compression on your server (check with your hosting provider)<\/li>\n\n<li>Create a file named test.php with the code below and upload it to your server root:&nbsp;<\/li><\/ol><pre class=\"wp-block-code\"><code class=\"\">&lt;?php phpinfo(); ?&gt;\n<\/code><\/pre><ul class=\"wp-block-list\"><li>From the cPanel find your .htaccess file&nbsp;<\/li>\n\n<li>Right click the .htaccess file and edit it with the code <strong>below inside the file:<\/strong><\/li><\/ul><pre class=\"wp-block-code\"><code class=\"\"># BEGIN GZIP Compression\n&lt;IfModule mod_deflate.c&gt;\nAddOutputFilterByType DEFLATE application\/javascript\nAddOutputFilterByType DEFLATE application\/rss+xml\nAddOutputFilterByType DEFLATE application\/vnd.ms-fontobject\nAddOutputFilterByType DEFLATE application\/x-font\nAddOutputFilterByType DEFLATE application\/x-font-opentype\nAddOutputFilterByType DEFLATE application\/x-font-otf\nAddOutputFilterByType DEFLATE application\/x-font-truetype\nAddOutputFilterByType DEFLATE application\/x-font-ttf\nAddOutputFilterByType DEFLATE application\/x-javascript\nAddOutputFilterByType DEFLATE application\/xhtml+xml\nAddOutputFilterByType DEFLATE application\/xml\nAddOutputFilterByType DEFLATE font\/opentype\nAddOutputFilterByType DEFLATE font\/otf\nAddOutputFilterByType DEFLATE font\/ttf\nAddOutputFilterByType DEFLATE image\/svg+xml\nAddOutputFilterByType DEFLATE image\/x-icon\nAddOutputFilterByType DEFLATE text\/css\nAddOutputFilterByType DEFLATE text\/html\nAddOutputFilterByType DEFLATE text\/javascript\nAddOutputFilterByType DEFLATE text\/plain\nAddOutputFilterByType DEFLATE text\/xml\n&lt;\/IfModule&gt;\n\n# END GZIP Compression\n<\/code><\/pre><p><em>(Source for the code: <\/em><a href=\"https:\/\/zuziko.com\/tutorials\/how-to-setup-gzip-in-wordpress-without-a-plugin\/\"><em>Zuziko<\/em><\/a><em>)<\/em><\/p><h3 class=\"wp-block-heading\">How to Add GZIP Compression With a WordPress plugin (the easiest way)<\/h3><p>The easiest (and safest way) to add GZIP compression is to use a WordPress plugin such as:&nbsp;<\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wordpress.org\/plugins\/wpo-tweaks\/\">WPO Tweaks and optimization<\/a> &#8211; A plugin that applies GZIP compression and deactivates many unnecessary codes and scripts to save hosting resources and costs.<\/li>\n\n<li><a href=\"https:\/\/wp-rocket.me\/features\">WP Rocket<\/a> &#8211; A complete performance plugin that applies GZIP compression automatically upon its activation.<\/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><h2 class=\"wp-block-heading\">5. You\u2019re Not Optimizing Your Code<\/h2><p>Code optimization improves performance by reducing file sizes, leading to faster download times, lower bandwidth usage, and quicker page loading. The main code optimization techniques are the following:<\/p><ul class=\"wp-block-list\"><li><strong>Minification <\/strong>&#8211; Removes unnecessary characters as you can see below:<\/li><\/ul><figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"804\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-optimization-with-minification-Source-WP-Rocket-.png\" alt=\"Example of code optimization with minification - Source: WP Rocket\n\" class=\"wp-image-6292482\" style=\"width:490px\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-optimization-with-minification-Source-WP-Rocket-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-optimization-with-minification-Source-WP-Rocket--194x195.png 194w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-optimization-with-minification-Source-WP-Rocket--768x772.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-optimization-with-minification-Source-WP-Rocket--60x60.png 60w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-optimization-with-minification-Source-WP-Rocket--90x90.png 90w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Example of code optimization with minification &#8211; Source: <a href=\"https:\/\/wp-rocket.me\/\">WP Rocket<\/a><br><\/figcaption><\/figure><ul class=\"wp-block-list\"><li><strong>Remove unused CSS:<\/strong> Identifying and eliminating styles from your website&#8217;s stylesheet that are not applied to any elements on the page.<\/li>\n\n<li><strong>Delay non-critical JS: This means <\/strong>loading the JavaScript later and focusing on rendering the page first to optimize user experience.&nbsp;<\/li><\/ul><h3 class=\"wp-block-heading\">How to Check if You Have a Code Optimization Issue&nbsp;<\/h3><p>Head to <a href=\"https:\/\/pagespeed.web.dev\/\">PageSpeed Insights<\/a> and run a performance audit with your URL. If you see any of those warnings below, then you may need to optimize your code:<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"260\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-related-warnings-from-PageSpeed-Insights-Source-PageSpeed-Insights-.png\" alt=\"Example of code-related warnings from PageSpeed Insights - Source: PageSpeed Insights \n\" class=\"wp-image-6292497\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-related-warnings-from-PageSpeed-Insights-Source-PageSpeed-Insights-.png 786w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-related-warnings-from-PageSpeed-Insights-Source-PageSpeed-Insights--310x103.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-related-warnings-from-PageSpeed-Insights-Source-PageSpeed-Insights--768x254.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-related-warnings-from-PageSpeed-Insights-Source-PageSpeed-Insights--181x60.png 181w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Example-of-code-related-warnings-from-PageSpeed-Insights-Source-PageSpeed-Insights--272x90.png 272w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><figcaption class=\"wp-element-caption\">Example of code-related warnings from PageSpeed Insights &#8211; Source: <a href=\"https:\/\/pagespeed.web.dev\/\">PageSpeed Insights<\/a>&nbsp;<br><\/figcaption><\/figure><h3 class=\"wp-block-heading\">How to Minify Your Code Manually<\/h3><p>You can paste your code into tools like <a href=\"https:\/\/www.toptal.com\/developers\/javascript-minifier\">Toptal<\/a> to minify JavaScript and obtain the minified output. Afterward, upload it to your WordPress site. <em>However, exercise caution and create a site backup before proceeding.<\/em><\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"376\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Online-JS-minified-Source-Toptal.png\" alt=\"Online JS minified - Source: Toptal\n\" class=\"wp-image-6292507\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Online-JS-minified-Source-Toptal.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Online-JS-minified-Source-Toptal-310x146.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Online-JS-minified-Source-Toptal-768x361.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Online-JS-minified-Source-Toptal-128x60.png 128w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Online-JS-minified-Source-Toptal-191x90.png 191w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Online JS minified &#8211; Source: <a href=\"https:\/\/www.toptal.com\/developers\/javascript-minifier\">Toptal<\/a><br><\/figcaption><\/figure><p>Similarly, you can minify CSS using online tools like <a href=\"https:\/\/www.minifier.org\/\">minifier.org<\/a> and re-upload your minified code to your WordPress site.<\/p><h3 class=\"wp-block-heading\">How to Optimize Your Code With a WordPress plugin (the easiest way)<\/h3><p>The easiest (and safest way) to optimize your code even beyond minification is to use one of those plugins:&nbsp;<\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/fr.wordpress.org\/plugins\/wp-super-minify\/\">WP Super Minify<\/a> &#8211; Combines, minifies and caches inline JavaScript and CSS files on demand.<\/li>\n\n<li><a href=\"https:\/\/wp-rocket.me\/features\">WP Rocket<\/a> &#8211; Allows you to optimize your code on the following levels efficiently:<ul class=\"wp-block-list\"><li>Minify JS and CSS<\/li>\n\n<li>Optimize CSS delivery&nbsp;<\/li>\n\n<li>Load Defer JS<\/li>\n\n<li>Defer JS execution<\/li><\/ul><\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"599\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Extract-of-the-file-optimization-tab-Source-WP-Rocket-.png\" alt=\"Extract of the File optimization tab - Source: WP Rocket\n\" class=\"wp-image-6292521\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Extract-of-the-file-optimization-tab-Source-WP-Rocket-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Extract-of-the-file-optimization-tab-Source-WP-Rocket--260x195.png 260w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Extract-of-the-file-optimization-tab-Source-WP-Rocket--768x575.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Extract-of-the-file-optimization-tab-Source-WP-Rocket--80x60.png 80w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Extract-of-the-file-optimization-tab-Source-WP-Rocket--120x90.png 120w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Extract of the File optimization tab &#8211; Source: <a href=\"https:\/\/wp-rocket.me\/features\">WP Rocket<\/a><br><\/figcaption><\/figure><p>Last but not least, WP Rocket can assist you in resolving all code optimization warnings, ensuring your website passes audits in PageSpeed Insights.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"347\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WP-Rocket-helping-to-optimize-the-code-and-pass-the-audit-on-PageSpeed-Insights-Source-PageSpeed-Insights-.png\" alt=\"WP Rocket helps to optimize the code and pass the audit on PageSpeed Insights - Source: PageSpeed Insights \n\" class=\"wp-image-6292542\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WP-Rocket-helping-to-optimize-the-code-and-pass-the-audit-on-PageSpeed-Insights-Source-PageSpeed-Insights-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WP-Rocket-helping-to-optimize-the-code-and-pass-the-audit-on-PageSpeed-Insights-Source-PageSpeed-Insights--310x134.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WP-Rocket-helping-to-optimize-the-code-and-pass-the-audit-on-PageSpeed-Insights-Source-PageSpeed-Insights--768x333.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WP-Rocket-helping-to-optimize-the-code-and-pass-the-audit-on-PageSpeed-Insights-Source-PageSpeed-Insights--138x60.png 138w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WP-Rocket-helping-to-optimize-the-code-and-pass-the-audit-on-PageSpeed-Insights-Source-PageSpeed-Insights--207x90.png 207w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">WP Rocket helps to optimize the code and pass the audit on PageSpeed Insights &#8211; Source: <a href=\"https:\/\/pagespeed.web.dev\/\">PageSpeed Insights&nbsp;<\/a><br><\/figcaption><\/figure><figure class=\"wp-block-table\"><table><tbody><tr><td>\ud83d\ude80 Learn more about <a href=\"https:\/\/wp-rocket.me\/blog\/critical-css\/\">optimizing CSS<\/a> and <a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-javascript-execution-time\/\">JavaScript<\/a> on WordPress.<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\">6. Your Website Has Too Many External HTTP Requests<\/h2><p>A high number of HTTP requests can negatively impact speed because each request triggers a communication process between the browser and server, consuming time and resources. Minimizing HTTP requests is crucial for optimizing website performance.<\/p><p>As a point of reference, in 2022, the typical number of requests per page across the web averaged approximately 70 for mobile and 76 for desktop.&nbsp;<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"569\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/HTTP-requests-per-page-in-2022-Source-HTTP-archives-.png\" alt=\"HTTP requests per page in 2022 - Source: HTTP archives\n\" class=\"wp-image-6292553\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/HTTP-requests-per-page-in-2022-Source-HTTP-archives-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/HTTP-requests-per-page-in-2022-Source-HTTP-archives--274x195.png 274w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/HTTP-requests-per-page-in-2022-Source-HTTP-archives--768x546.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/HTTP-requests-per-page-in-2022-Source-HTTP-archives--84x60.png 84w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/HTTP-requests-per-page-in-2022-Source-HTTP-archives--127x90.png 127w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">HTTP requests per page in 2022 &#8211; Source: <a href=\"https:\/\/almanac.httparchive.org\/en\/2022\/page-weight#requests-volume\">HTTP archives<\/a><br><\/figcaption><\/figure><h3 class=\"wp-block-heading\">How to Check the Numbers of HTTP Requests<\/h3><p>To check the number of HTTP requests your WordPress makes, you can use GTmetrix and run an audit with your URL. Then scroll down to the <strong>Page Details <\/strong>section and check the number near the <strong>Total Page Requests<\/strong> KPI.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"420\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Number-of-HTTP-requests-Source-GTmetrix-.png\" alt=\"Number of HTTP requests - Source: GTmetrix\n\" class=\"wp-image-6292563\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Number-of-HTTP-requests-Source-GTmetrix-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Number-of-HTTP-requests-Source-GTmetrix--310x163.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Number-of-HTTP-requests-Source-GTmetrix--768x403.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Number-of-HTTP-requests-Source-GTmetrix--114x60.png 114w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Number-of-HTTP-requests-Source-GTmetrix--171x90.png 171w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Number of HTTP requests &#8211; Source: <a href=\"https:\/\/gtmetrix.com\/\">GTmetrix<\/a><br><\/figcaption><\/figure><figure class=\"wp-block-table\"><table><tbody><tr><td>\ud83c\udfc6 For optimal performance, you should aim at having a max of 50 HTTP requests per page.<\/td><\/tr><\/tbody><\/table><\/figure><h3 class=\"wp-block-heading\">How to Fix a High Number of HTTP requests<\/h3><ol class=\"wp-block-list\"><li>Minify CSS and JavaScript files &#8211; With the help of <a href=\"http:\/\/wp-rocket.me\/features\">WP Rocket<\/a>, as we saw before.&nbsp;<\/li>\n\n<li>Enable Lazy Load on Images &#8211; This is possible with WP Rocket too.&nbsp;<\/li>\n\n<li>Loads script only when needed &#8211; You can use the <a href=\"https:\/\/perfmatters.io\/\">Perfmatters<\/a> plugin to <a href=\"https:\/\/perfmatters.io\/docs\/disable-scripts-per-post-page\/\">disable a script on a page or post<\/a>.<\/li><\/ol><figure class=\"wp-block-table\"><table><tbody><tr><td>\ud83d\ude80 Explore more detailed techniques about <a href=\"https:\/\/wp-rocket.me\/blog\/reduce-http-requests-speed-wordpress-site\/#section-5\">reducing the number of HTTP requests<\/a> to boost the speed of your WordPress site.&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\">7. You\u2019re Not Optimizing Images<\/h2><p><a href=\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/\">Image optimization is crucial for website speed<\/a>, involving compression and format selection techniques to reduce file sizes without sacrificing quality. It also includes <a href=\"https:\/\/wp-rocket.me\/blog\/webp-use-image-format-wordpress\/\">serving images to WebP<\/a> and applying <a href=\"https:\/\/wp-rocket.me\/blog\/lazy-loading-wordpress-5-5\/#:~:text=You%20can%20enable%20LazyLoad%20easily,lazy%20load%20images%20for%20visitors.\">lazy-loading<\/a> on them.<\/p><figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\ud83d\udcd6 Image Optimization Glossary<\/strong><br><br><strong>WebP: <\/strong>a next-generation format created by Google to compress images even more than the traditional JPEG or PNG. The <a href=\"https:\/\/imagify.io\/blog\/how-to-use-webp-images-wordpress\/\">best format to boost performance on <\/a>WordPress.<br><br><strong>Lazy Loading:<\/strong> Lazy loading on images is <a href=\"https:\/\/wp-rocket.me\/blog\/lazy-loading-wordpress-5-5\/#:~:text=You%20can%20enable%20LazyLoad%20easily,lazy%20load%20images%20for%20visitors.\">a web optimization technique that delays the loading of images<\/a> until they are about to be viewed by the user = only necessary resources are loaded first.&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure><p>Ensuring images are appropriately sized and formatted decreases page load time, improving user experience, SEO rankings, and site performance.&nbsp;<\/p><h3 class=\"wp-block-heading\">How to Check that Images are Optimized<\/h3><p>Run an audit on <a href=\"https:\/\/pagespeed.web.dev\/?hl=fr\">PageSpeed Insights<\/a>, and if any of the warnings below appear, then you probably need to optimize your images:<\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wp-rocket.me\/blog\/reduce-image-file-size\/\">Properly size images<\/a> (for every device)<\/li>\n\n<li><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/defer-offscreen-images\/\">Defer offscreen images<\/a> (lazy loading)<\/li>\n\n<li><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/serve-images-next-gen-formats\/#:~:text=Next%2Dgen%20formats%20such%20as,the%20other%20web%20image%20formats.&amp;text=AVIF%3A%20The%20AV1%20image%20file,storing%20still%20and%20animated%20images.\">Serve image in next-gen formats<\/a> (WebP or AVIF)<\/li>\n\n<li><a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/efficiently-encode-images\/\">Efficiently encode images<\/a> (image compression)<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"389\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Images-related-issues-from-PageSpeed-Insights-Source-PageSpeed-Insights-.png\" alt=\"Image-related issues from PageSpeed Insights - Source: PageSpeed Insight\" class=\"wp-image-6292581\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Images-related-issues-from-PageSpeed-Insights-Source-PageSpeed-Insights-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Images-related-issues-from-PageSpeed-Insights-Source-PageSpeed-Insights--310x151.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Images-related-issues-from-PageSpeed-Insights-Source-PageSpeed-Insights--768x373.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Images-related-issues-from-PageSpeed-Insights-Source-PageSpeed-Insights--123x60.png 123w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Images-related-issues-from-PageSpeed-Insights-Source-PageSpeed-Insights--185x90.png 185w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Image-related issues from PageSpeed Insights &#8211; Source: <a href=\"https:\/\/pagespeed.web.dev\/\">PageSpeed Insight<\/a><\/figcaption><\/figure><h3 class=\"wp-block-heading\">How to Optimize Images on WordPress<\/h3><p>Image optimization on WordPress means that you need to:<\/p><ul class=\"wp-block-list\"><li>Compress images while keeping an acceptable quality<\/li>\n\n<li>Serve images to WebP&nbsp;<\/li><\/ul><p>Both optimization techniques can be done with <a href=\"https:\/\/imagify.io\/features\/\">Imagify<\/a>, one of WordPress&#8217;s easiest image optimization plugins. Thanks to Smart Compression, Imagify significantly reduces file size without impacting quality. See for yourself, can you spot the difference?<\/p><figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"803\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Smaller-file-size-and-WebP-conversion-but-untouched-quality-Source-Imagify.png\" alt=\"Smaller file size and WebP conversion but untouched quality - Source: Imagify\n\" class=\"wp-image-6292593\" style=\"width:490px\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Smaller-file-size-and-WebP-conversion-but-untouched-quality-Source-Imagify.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Smaller-file-size-and-WebP-conversion-but-untouched-quality-Source-Imagify-194x195.png 194w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Smaller-file-size-and-WebP-conversion-but-untouched-quality-Source-Imagify-768x771.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Smaller-file-size-and-WebP-conversion-but-untouched-quality-Source-Imagify-60x60.png 60w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Smaller-file-size-and-WebP-conversion-but-untouched-quality-Source-Imagify-90x90.png 90w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Smaller file size and WebP conversion but untouched quality &#8211; Source: <a href=\"https:\/\/imagify.io\/features\/\">Imagify<\/a><br><\/figcaption><\/figure><p>On top of that, <a href=\"https:\/\/imagify.io\/blog\/how-to-convert-images-to-webp\/\">Imagify also converts your images to WebP<\/a> in one single click:<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"259\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WebP-conversion-with-Imagify-Source-Imagify-.png\" alt=\"WebP conversion with Imagify - Source: Imagify\n\" class=\"wp-image-6292605\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WebP-conversion-with-Imagify-Source-Imagify-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WebP-conversion-with-Imagify-Source-Imagify--310x100.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WebP-conversion-with-Imagify-Source-Imagify--768x249.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WebP-conversion-with-Imagify-Source-Imagify--185x60.png 185w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/WebP-conversion-with-Imagify-Source-Imagify--278x90.png 278w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">WebP conversion with Imagify &#8211; Source: <a href=\"https:\/\/imagify.io\/features\/\">Imagify<\/a><br><\/figcaption><\/figure><ul class=\"wp-block-list\"><li>Apply lazy loading &#8211; This can be easily done with <a href=\"https:\/\/wp-rocket.me\/features\">WP Rocket<\/a>:&nbsp;<br><br>Go to <strong>Settings<\/strong> &gt; <strong>WP Rocke<\/strong>t &gt; <strong>Media<\/strong> panel in your WordPress admin dashboard. In the LazyLoad section at the top of the page, check the <strong>Enable for images <\/strong>option and then press the <strong>Save Changes<\/strong> button.<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"453\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Lazy-loading-with-WP-Rocket-Source-WP-Rocket-.png\" alt=\"Lazy-loading with WP Rocket - Source: WP Rocket\n\" class=\"wp-image-6292618\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Lazy-loading-with-WP-Rocket-Source-WP-Rocket-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Lazy-loading-with-WP-Rocket-Source-WP-Rocket--310x176.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Lazy-loading-with-WP-Rocket-Source-WP-Rocket--768x435.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Lazy-loading-with-WP-Rocket-Source-WP-Rocket--106x60.png 106w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Lazy-loading-with-WP-Rocket-Source-WP-Rocket--159x90.png 159w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Lazy-loading with WP Rocket &#8211; Source: <a href=\"https:\/\/wp-rocket.me\/\">WP Rocket<\/a><br><\/figcaption><\/figure><h2 class=\"wp-block-heading\">8. You\u2019re Using Too Many Plugins (or They\u2019re Too Heavy)<\/h2><p>Excessive WordPress plugins can negatively impact performance by increasing server load, causing slower page loading times and potential compatibility conflicts.&nbsp;<\/p><h3 class=\"wp-block-heading\">How to Identify the Plugins You Really Need<\/h3><p>To maintain site speed, let\u2019s start by choosing plugins that are well-optimized:<\/p><ul class=\"wp-block-list\"><li>Restrict the number of installed plugins&nbsp;<\/li>\n\n<li>Assess them based on online reviews, the number of installs, and the latest update<\/li>\n\n<li>Check the quality of the documentation and support.<\/li><\/ul><p>Then, you should find the plugins that may affect performance.<\/p><h3 class=\"wp-block-heading\">How To Detect Slow WordPress Plugins<\/h3><ul class=\"wp-block-list\"><li><strong>Disable plugins one by one.<\/strong> Deactivate plugins individually and reload your site after each deactivation so you can pinpoint which plugins are affecting performance and to what extent.<br><br>You can also head to PageSpeed Insights and run a performance audit every time you deactivate a plugin until you find the culprit.&nbsp;<\/li><\/ul><ul class=\"wp-block-list\"><li>Use <a href=\"https:\/\/wordpress.org\/plugins\/query-monitor\/\">Query Monitor<\/a>. It&#8217;s a free, powerful WordPress plugin that provides detailed insights into your website&#8217;s performance. Notably, it allows you to narrow down and identify the poorly performing plugins, themes, or functions. <em>Don\u2019t forget to delete it when you are done.&nbsp;<\/em><\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"306\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/List-of-plugins-and-time-column-DB-queries-Source-Query-Monitor-.png\" alt=\"List of plugins and time column (DB queries) - Source: Query Monitor\n\" class=\"wp-image-6292625\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/List-of-plugins-and-time-column-DB-queries-Source-Query-Monitor-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/List-of-plugins-and-time-column-DB-queries-Source-Query-Monitor--310x119.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/List-of-plugins-and-time-column-DB-queries-Source-Query-Monitor--768x294.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/List-of-plugins-and-time-column-DB-queries-Source-Query-Monitor--157x60.png 157w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/List-of-plugins-and-time-column-DB-queries-Source-Query-Monitor--235x90.png 235w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">List of plugins and time column (DB queries) &#8211; Source: <a href=\"https:\/\/wordpress.org\/plugins\/query-monitor\/\">Query Monitor<\/a><br><\/figcaption><\/figure><h2 class=\"wp-block-heading\">9. You\u2019ve Not Updated Your PHP Version<\/h2><p>Running an outdated PHP version on WordPress can adversely affect performance. Upgrading to the latest PHP version is crucial for speed, security, and compatibility with modern plugins and themes. In 2023, PHP 8 was released, emphasizing the importance of ensuring that your site runs on at least PHP 8 for optimized performance.<\/p><h3 class=\"wp-block-heading\">How to Check Which PHP Version is Running On WordPress&nbsp;<\/h3><p>Log in to your WordPress dashboard, then go to <strong>Tools<\/strong> \u2192 <strong>Site Health.<\/strong> Switch to the <strong>Info<\/strong> tab and click on <strong>Server<\/strong> to expand the section. Here, you can view server information, including details about the PHP version used by your server.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"534\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-which-PHP-version-is-installed-Source-WordPress-admin-.png\" alt=\"Checking which PHP version is installed - Source: WordPress admin\n\" class=\"wp-image-6292635\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-which-PHP-version-is-installed-Source-WordPress-admin-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-which-PHP-version-is-installed-Source-WordPress-admin--292x195.png 292w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-which-PHP-version-is-installed-Source-WordPress-admin--768x513.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-which-PHP-version-is-installed-Source-WordPress-admin--90x60.png 90w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Checking-which-PHP-version-is-installed-Source-WordPress-admin--135x90.png 135w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Checking which PHP version is installed &#8211; Source: WordPress admin<br><\/figcaption><\/figure><h3 class=\"wp-block-heading\">How to Update PHP Version on WordPress<\/h3><ul class=\"wp-block-list\"><li><strong>Check your hosting provider<\/strong>. Usually, WordPress hosts automatically update the PHP version in the background. You can also do this manually from the cPanel. For example, on Siteground, go to the PHP management settings from <strong>Site Tools<\/strong> &gt; <strong>Devs<\/strong> &gt; <strong>PHP Manager<\/strong> &gt; <strong>PHP Version<\/strong>. From there, you can choose which version to use:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"350\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Changing-PHP-version-manually-Source-SiteGround-.png\" alt=\"Changing PHP version manually - Source: SiteGround\n\" class=\"wp-image-6292644\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Changing-PHP-version-manually-Source-SiteGround-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Changing-PHP-version-manually-Source-SiteGround--310x136.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Changing-PHP-version-manually-Source-SiteGround--768x336.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Changing-PHP-version-manually-Source-SiteGround--137x60.png 137w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Changing-PHP-version-manually-Source-SiteGround--206x90.png 206w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Changing PHP version manually &#8211; Source: <a href=\"https:\/\/www.siteground.com\/kb\/what-is-managed-php\/\">SiteGround<\/a><br><\/figcaption><\/figure><h2 class=\"wp-block-heading\">10. You\u2019re Forgetting to Clean Your Database<\/h2><p>Cleaning and optimizing the WordPress database is essential for performance. Removing unnecessary data, such as revisions and transients, reduces database bloat, leading to faster queries and improved overall site speed. You should run regular database maintenance to keep your website running smoothly.<\/p><h3 class=\"wp-block-heading\">How to Clean a Database on WordPress&nbsp;<\/h3><p>If you want to do it manually, you can use PhPMyAdmin, or if you opt for the fastest way, use a WordPress plugin that will do the job for you. Let\u2019s go over both ways.&nbsp;<\/p><p><strong>Cleaning a database the manual way<\/strong><\/p><p>To optimize your WordPress database manually, access PHPMyAdmin through your hosting provider and proceed with the following instructions:<\/p><ul class=\"wp-block-list\"><li>Sign in to cPanel and launch the PHPMyAdmin tool.<\/li>\n\n<li>Choose the tables requiring optimization from the structure tab. Alternatively, you can opt for the &#8220;Check all&#8221; box below the table lists to select them all.<\/li><\/ul><figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"646\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Optimize-table-manually-\u2013-Source-PHPmyAdmin-.png\" alt=\"Optimize table manually \u2013 Source: PHPmyAdmin\n\" class=\"wp-image-6292653\" style=\"width:490px\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Optimize-table-manually-\u2013-Source-PHPmyAdmin-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Optimize-table-manually-\u2013-Source-PHPmyAdmin--241x195.png 241w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Optimize-table-manually-\u2013-Source-PHPmyAdmin--768x620.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Optimize-table-manually-\u2013-Source-PHPmyAdmin--74x60.png 74w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Optimize-table-manually-\u2013-Source-PHPmyAdmin--111x90.png 111w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Optimize table manually \u2013 Source: <a href=\"https:\/\/demo.phpmyadmin.net\/master-config\/public\/index.php?route=\/database\/structure&amp;db=mysql\">PHPmyAdmin<\/a><br><\/figcaption><\/figure><p><strong>Cleaning a database with a WordPress plugin<\/strong><\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wp-rocket.me\/\">WP Rocket<\/a> &#8211; To optimize your database in one click. From the WordPress admin, open the <strong>DATABASE<\/strong> tab and select the advanced options of your choice. You can limit the number of revisions, trash the spammy comments and all the transients, and even schedule an automatic clean-up.<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"969\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/The-database-optimization-tab-Source-WP-Rocket-.png\" alt=\"The database optimization tab - Source: WP Rocket\n\" class=\"wp-image-6292672\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/The-database-optimization-tab-Source-WP-Rocket-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/The-database-optimization-tab-Source-WP-Rocket--161x195.png 161w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/The-database-optimization-tab-Source-WP-Rocket--768x930.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/The-database-optimization-tab-Source-WP-Rocket--50x60.png 50w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/The-database-optimization-tab-Source-WP-Rocket--74x90.png 74w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">The database optimization tab &#8211; Source: <a href=\"https:\/\/wp-rocket.me\/\">WP Rocket<\/a><br><\/figcaption><\/figure><ul class=\"wp-block-list\"><li><a href=\"https:\/\/wordpress.org\/plugins\/wp-sweep\/gin%20lets%20you%20clean%20up%20unused,%20orphaned,%20and%20duplicated%20data%20in%20your%20WordPress%20database.%20It%20cleans%20up%20revisions,%20auto%20drafts,%20unapproved%20comments,%20spam%20comments,%20and%20more.%20%20It%20also%20optimizes%20your%20database%20tables%20quickly%20and%20efficiently.%20%20Database%20optimization%20-%20Source:%20WP-Sweep\">WP Sweep<\/a> &#8211; To clean up unused, orphaned, and duplicated data in your WordPress database, such as revisions, auto drafts, unapproved comments, spam comments, and more.&nbsp; It optimizes your database tables very quickly and efficiently.<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"403\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Database-optimization-Source-WP-Sweep-.png\" alt=\"Database optimization - Source: WP-Sweep\n\" class=\"wp-image-6292681\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Database-optimization-Source-WP-Sweep-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Database-optimization-Source-WP-Sweep--310x156.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Database-optimization-Source-WP-Sweep--768x387.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Database-optimization-Source-WP-Sweep--119x60.png 119w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Database-optimization-Source-WP-Sweep--179x90.png 179w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Database optimization &#8211; Source: <a href=\"https:\/\/wordpress.org\/plugins\/wp-sweep\/\">WP-Sweep<\/a><br><\/figcaption><\/figure><figure class=\"wp-block-table\"><table><tbody><tr><td>\ud83d\udcc1 Go further in optimizing<a href=\"https:\/\/wp-rocket.me\/blog\/make-wordpress-database-clean-whistle\/#:~:text=WP%20Rocket,-One%20of%20the&amp;text=From%20the%20WordPress%20dashboard%2C%20open,%2C%20or%20monthly%20clean%2Dup.\"> your WordPress <\/a>database with our detailed guide.&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\">11. You\u2019re Not Using a CDN<\/h2><p>A Content Delivery Network (CDN) can accelerate the loading speed of a WordPress site by distributing its static content, such as images, CSS, and JavaScript, to multiple servers (Points of Presence) strategically placed around the world. This reduces latency and decreases the distance data travels, resulting in faster page loading times for users globally.&nbsp;&nbsp;<\/p><p>Here&#8217;s how a CDN operates: the data doesn&#8217;t have to travel directly from the origin servers. It is instead delivered from servers situated closer to the user in various parts of the world.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"597\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/How-a-CDN-works-Source-RocketCDN-.png\" alt=\"How a CDN works - Source: RocketCDN\n\" class=\"wp-image-6292689\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/How-a-CDN-works-Source-RocketCDN-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/How-a-CDN-works-Source-RocketCDN--261x195.png 261w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/How-a-CDN-works-Source-RocketCDN--768x573.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/How-a-CDN-works-Source-RocketCDN--80x60.png 80w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/How-a-CDN-works-Source-RocketCDN--121x90.png 121w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">How a CDN works &#8211; Source: <a href=\"https:\/\/rocketcdn.me\/\">RocketCDN<\/a><br><\/figcaption><\/figure><h3 class=\"wp-block-heading\">How to Check if a CDN is Being Used Properly&nbsp;<\/h3><ul class=\"wp-block-list\"><li><strong>With a performance test<\/strong> &#8211; You can run a performance test from multiple locations using GTmetrix (you\u2019ll need to create an account). If you see that your site is running slow from Paris, with the origin server in Bangkok, there may be an issue with your CDN.&nbsp;<\/li><\/ul><ul start=\"2\" class=\"wp-block-list\"><li><strong>Audit with GTmetrix <\/strong>&#8211; If you are not using a CDN, GTmetrix will give you the following recommendation:<\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"309\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/CDNs-audit-on-GTMetrix-Source-GTMetrix-.png\" alt=\"CDN\u2019s audit on GTmetrix - Source: GTmetrix\n\" class=\"wp-image-6292700\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/CDNs-audit-on-GTMetrix-Source-GTMetrix-.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/CDNs-audit-on-GTMetrix-Source-GTMetrix--310x120.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/CDNs-audit-on-GTMetrix-Source-GTMetrix--768x297.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/CDNs-audit-on-GTMetrix-Source-GTMetrix--155x60.png 155w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/CDNs-audit-on-GTMetrix-Source-GTMetrix--233x90.png 233w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">CDN\u2019s audit on GTmetrix &#8211; Source: <a href=\"https:\/\/gtmetrix.com\/\">GTmetrix<\/a><br><\/figcaption><\/figure><ul class=\"wp-block-list\"><li><strong>Use the Developer tools from Google Chrome<\/strong> and inspect the content. If you see any CDN data amongst the code, then a CDN is in use.&nbsp;<\/li><\/ul><h3 class=\"wp-block-heading\">How to Use a CDN on WordPress<\/h3><p>Select a user-friendly CDN with a high cache hits ratio to ensure performance. If you seek an affordable CDN with a <a href=\"https:\/\/rocketcdn.me\/wordpress\/\">WordPress plugin that streamlines the technical setup<\/a>, consider exploring RocketCDN.&nbsp; <\/p><p><a href=\"https:\/\/rocketcdn.me\/features\/\">RocketCDN<\/a> helps optimize website delivery, reduce data transfer times, and improve overall user experience by ensuring that content is served from servers closest to the requesting users. The best part is that it does all the heavy lifting for you and has a cache hit ratio superior to 90%!<\/p><h2 class=\"wp-block-heading\">Wrapping Up<\/h2><p>We trust that this article has provided you with the correct answers to the question, &#8220;Why is my WordPress site slow?\u201d. In conclusion, achieving a faster WordPress website involves essential strategies such as code optimization, caching, image optimization, CDN implementation, database cleanup, and limiting the total amount of plugins. Implementing these measures collectively can significantly enhance website speed and overall performance.<\/p><p>While it may initially appear daunting, using the appropriate tools, such as WP Rocket, simplifies the process. WP Rocket applies 80% of the performance best practices upon its activation, including GZIP compression, caching, database optimization, advanced JS and CSS optimization, lazy-loading, and more. <a href=\"https:\/\/wp-rocket.me\/pricing\/\">WP Rocket is the ideal solution<\/a> if you&#8217;re seeking to accelerate your WordPress site and streamline code and database management effortlessly. And with a 30-day money-back guarantee, you can explore its benefits risk-free.<\/p>","protected":false},"excerpt":{"rendered":"<p>Is your WordPress website slow? Discover all the reasons that can affect performance and learn how to fix them. Sometimes it&#8217;s easier than you think!<\/p>\n","protected":false},"author":188114,"featured_media":6293132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"kia_subtitle":"","footnotes":""},"categories":[63],"tags":[],"class_list":["post-6292251","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-cache"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Why is Your WordPress Website Slow? (+ How to Fix it)<\/title>\n<meta name=\"description\" content=\"Is your WordPress website slow? Discover all the reasons that can affect performance and learn how to fix them. Sometimes it&#039;s easier than you think!\" \/>\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\/blog\/slow-wordpress-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why is Your WordPress Website Slow? (+ How to Fix it)\" \/>\n<meta property=\"og:description\" content=\"Is your WordPress website slow? Discover all the reasons that can affect performance and learn how to fix them. Sometimes it&#039;s easier than you think!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/\" \/>\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:published_time\" content=\"2023-11-22T15:46:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-05T12:39:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Why-is-Your-WordPress-Website-Slow-How-to-Fix-it.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1100\" \/>\n\t<meta property=\"og:image:height\" content=\"460\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Marine Larmier\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wp_rocket\" \/>\n<meta name=\"twitter:site\" content=\"@wp_rocket\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Marine Larmier\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"17 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/\"},\"author\":{\"name\":\"Marine Larmier\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/ad9f21665968e3071cede8110604959a\"},\"headline\":\"Why is Your WordPress Website Slow? (+ How to Fix it)\",\"datePublished\":\"2023-11-22T15:46:48+00:00\",\"dateModified\":\"2024-11-05T12:39:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/\"},\"wordCount\":3388,\"publisher\":{\"@id\":\"https:\/\/wp-rocket.me\/#organization\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Why-is-Your-WordPress-Website-Slow-How-to-Fix-it.png\",\"articleSection\":[\"Page speed and caching\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/\",\"url\":\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/\",\"name\":\"Why is Your WordPress Website Slow? (+ How to Fix it)\",\"isPartOf\":{\"@id\":\"https:\/\/wp-rocket.me\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Why-is-Your-WordPress-Website-Slow-How-to-Fix-it.png\",\"datePublished\":\"2023-11-22T15:46:48+00:00\",\"dateModified\":\"2024-11-05T12:39:32+00:00\",\"description\":\"Is your WordPress website slow? Discover all the reasons that can affect performance and learn how to fix them. Sometimes it's easier than you think!\",\"breadcrumb\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#primaryimage\",\"url\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Why-is-Your-WordPress-Website-Slow-How-to-Fix-it.png\",\"contentUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Why-is-Your-WordPress-Website-Slow-How-to-Fix-it.png\",\"width\":1100,\"height\":460,\"caption\":\"Why is Your WordPress Website Slow (+ How to Fix it)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wp-rocket.me\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Page speed and caching\",\"item\":\"https:\/\/wp-rocket.me\/blog\/wordpress-cache\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Why is Your WordPress Website Slow? (+ How to Fix it)\"}]},{\"@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\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/ad9f21665968e3071cede8110604959a\",\"name\":\"Marine Larmier\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0a77fe97a09a2f3875dbeb05e59c757f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0a77fe97a09a2f3875dbeb05e59c757f?s=96&d=mm&r=g\",\"caption\":\"Marine Larmier\"},\"description\":\"I have six years of experience writing and producing rich SEO content in the WordPress ecosystem. I worked remotely for four years at WPML while traveling the world. Based between France and New Zealand, I love traveling, yoga, sunsets, and world cuisine.\",\"sameAs\":[\"https:\/\/wp-rocket.me\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Why is Your WordPress Website Slow? (+ How to Fix it)","description":"Is your WordPress website slow? Discover all the reasons that can affect performance and learn how to fix them. Sometimes it's easier than you think!","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\/blog\/slow-wordpress-website\/","og_locale":"en_US","og_type":"article","og_title":"Why is Your WordPress Website Slow? (+ How to Fix it)","og_description":"Is your WordPress website slow? Discover all the reasons that can affect performance and learn how to fix them. Sometimes it's easier than you think!","og_url":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/","og_site_name":"WP Rocket","article_publisher":"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","article_published_time":"2023-11-22T15:46:48+00:00","article_modified_time":"2024-11-05T12:39:32+00:00","og_image":[{"width":1100,"height":460,"url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Why-is-Your-WordPress-Website-Slow-How-to-Fix-it.png","type":"image\/png"}],"author":"Marine Larmier","twitter_card":"summary_large_image","twitter_creator":"@wp_rocket","twitter_site":"@wp_rocket","twitter_misc":{"Written by":"Marine Larmier","Est. reading time":"17 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#article","isPartOf":{"@id":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/"},"author":{"name":"Marine Larmier","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/ad9f21665968e3071cede8110604959a"},"headline":"Why is Your WordPress Website Slow? (+ How to Fix it)","datePublished":"2023-11-22T15:46:48+00:00","dateModified":"2024-11-05T12:39:32+00:00","mainEntityOfPage":{"@id":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/"},"wordCount":3388,"publisher":{"@id":"https:\/\/wp-rocket.me\/#organization"},"image":{"@id":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#primaryimage"},"thumbnailUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Why-is-Your-WordPress-Website-Slow-How-to-Fix-it.png","articleSection":["Page speed and caching"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/","url":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/","name":"Why is Your WordPress Website Slow? (+ How to Fix it)","isPartOf":{"@id":"https:\/\/wp-rocket.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#primaryimage"},"image":{"@id":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#primaryimage"},"thumbnailUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Why-is-Your-WordPress-Website-Slow-How-to-Fix-it.png","datePublished":"2023-11-22T15:46:48+00:00","dateModified":"2024-11-05T12:39:32+00:00","description":"Is your WordPress website slow? Discover all the reasons that can affect performance and learn how to fix them. Sometimes it's easier than you think!","breadcrumb":{"@id":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#primaryimage","url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Why-is-Your-WordPress-Website-Slow-How-to-Fix-it.png","contentUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2023\/11\/Why-is-Your-WordPress-Website-Slow-How-to-Fix-it.png","width":1100,"height":460,"caption":"Why is Your WordPress Website Slow (+ How to Fix it)"},{"@type":"BreadcrumbList","@id":"https:\/\/wp-rocket.me\/blog\/slow-wordpress-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wp-rocket.me"},{"@type":"ListItem","position":2,"name":"Page speed and caching","item":"https:\/\/wp-rocket.me\/blog\/wordpress-cache\/"},{"@type":"ListItem","position":3,"name":"Why is Your WordPress Website Slow? (+ How to Fix it)"}]},{"@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"]},{"@type":"Person","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/ad9f21665968e3071cede8110604959a","name":"Marine Larmier","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0a77fe97a09a2f3875dbeb05e59c757f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0a77fe97a09a2f3875dbeb05e59c757f?s=96&d=mm&r=g","caption":"Marine Larmier"},"description":"I have six years of experience writing and producing rich SEO content in the WordPress ecosystem. I worked remotely for four years at WPML while traveling the world. Based between France and New Zealand, I love traveling, yoga, sunsets, and world cuisine.","sameAs":["https:\/\/wp-rocket.me\/"]}]}},"_links":{"self":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts\/6292251"}],"collection":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/users\/188114"}],"replies":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/comments?post=6292251"}],"version-history":[{"count":0,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts\/6292251\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/media\/6293132"}],"wp:attachment":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/media?parent=6292251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/categories?post=6292251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/tags?post=6292251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}