{"id":3286243,"date":"2021-08-16T16:06:45","date_gmt":"2021-08-16T14:06:45","guid":{"rendered":"https:\/\/wp-rocket.me\/?post_type=core_web_vitals_hub&#038;p=3286243"},"modified":"2023-07-26T14:15:06","modified_gmt":"2023-07-26T12:15:06","slug":"reduce-ttfb-server-response-times","status":"publish","type":"core_web_vitals_hub","link":"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/","title":{"rendered":"How to Reduce Time to First Byte (TTFB) and Server Response Times on WordPress"},"content":{"rendered":"<p>If you have ever run a PageSpeed Insights test, you likely came across the following recommendation: \u201cReduce initial server response time\u201d. The initial server response time affects the overall loading time and performance metrics such as the <a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/improve-largest-contentful-paint\/\">Largest Contentful Paint<\/a>, one of the Core Web Vitals metrics. Therefore, it will also affect your PageSpeed score.<\/p><p><strong>Reducing the initial server response time means that you should lower your site\u2019s time to first byte (TTFB)<\/strong>. TTFB refers to the amount of time it takes a browser to create a connection to the server and start downloading a web page\u2019s contents. So, the more you can improve your TTFB, the better your performance will get.<\/p><p>Let\u2019s understand what TTFB is and what causes a slow TTFB. You\u2019ll find out how to reduce it and address the PSI recommendation. You\u2019ll make your pages load faster and improve your LCP grade.<\/p><p>First, you can watch our video:<\/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=\"How to Fix  \u201cReduce Initial Server Response Time&quot;\" width=\"720\" height=\"405\" src=\"https:\/\/www.youtube.com\/embed\/puJmk1U4huQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen title=\"How to Fix  \u201cReduce Initial Server Response Time\"\"><\/iframe>\n<\/div><\/figure><h2 class=\"wp-block-heading\">What is Time to First Byte (TTFB)?<\/h2><p>Google <a href=\"https:\/\/developers.google.com\/web\/tools\/chrome-devtools\/network\/understanding-resource-timing#diagnosing_network_issues\">defines Time to First Byte as a period of \u201cwaiting\u201d<\/a>:<\/p><p>\u201cTime spent waiting for the initial response, also known as the Time To First Byte. This time captures the latency of a round trip to the server in addition to the time spent waiting for the server to deliver the response.\u201d<\/p><p>To put it simply, TTFB is the amount of time from the moment you navigate to a web page to the moment it starts rendering \u2013 that is, the moment you\u2019ll start seeing some content displayed on your screen.<\/p><p>TTFB is made up of three separate components:<\/p><h3 class=\"wp-block-heading\">1. The time it takes to send the HTTP request<\/h3><p>TTFB starts with the <a href=\"https:\/\/wp-rocket.me\/blog\/reduce-http-requests-speed-wordpress-site\/\"><strong>HTTP request<\/strong><\/a>. The time it takes for a server to receive the request depends on the time it takes to perform a <a href=\"https:\/\/wp-rocket.me\/blog\/how-to-reduce-dns-lookups-to-speed-up-your-wordpress-site\/\">DNS lookup<\/a>, the speed of the user\u2019s network, the distance to the server, and any interruptions in the connection.<\/p><h3 class=\"wp-block-heading\">2. The time it takes to process the request<\/h3><p>Once the server receives the request, it has to process it and generate a response. This involves starting processes, making database calls, running scripts, and communicating with other network systems.<\/p><h3 class=\"wp-block-heading\">3. The time it takes for the server to send back the first byte of the response to the browser<\/h3><p>Finally, the server needs to send the response to the user. This step is dependent on both the network speed of the server and the user. If the user has a slow wifi connection, it\u2019s going to affect the TTFB.&nbsp;<\/p><p>Basically, the longer it takes to send a request to the server, process it, and send it back to the user\u2019s browser, the longer it takes to display your page to the user.<\/p><h2 class=\"wp-block-heading\">Why is TTFB Important?<\/h2><p>TTFB is a factor that contributes to your overall page speed, so it\u2019s an important metric to keep an eye on and optimize \u2013 also to improve <a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/\"><strong>your Core Web Vitals grades<\/strong><\/a>.<\/p><p>It\u2019s also worth pointing out that you shouldn\u2019t confuse TTFB with page speed. It\u2019s simply a metric that gives you an idea of your site\u2019s responsiveness.<\/p><p>TTFB is a metric that\u2019s (mostly) within your control that you can tweak to speed up your site. So why not reduce it to make your site faster and get a better PageSpeed score?<\/p><p>What\u2019s more, when you reduce TTFB:<\/p><ul class=\"wp-block-list\"><li>Users spend less time waiting for your site to start loading, improving the user experience \u2013 don\u2019t forget that LCP is related to the <a href=\"https:\/\/wp-rocket.me\/blog\/google-page-experience-update-2021\/\">Page Experience Update, the latest SEO ranking factor<\/a>.<\/li>\n\n<li>Users are less likely to bounce while waiting for content to appear on the page, meaning higher engagement and retention.<\/li><\/ul><h2 class=\"wp-block-heading\">What is a Good Time to First Byte (TTFB)?<\/h2><p>Google recommends a <a href=\"https:\/\/developers.google.com\/speed\/docs\/insights\/Server\">TTFB under<strong> <\/strong>200 ms<\/a>. Lighthouse audit fails <a href=\"https:\/\/developers.google.com\/web\/tools\/lighthouse\/audits\/ttfb\">when the browser waits more than 600ms<\/a> for the server to respond to the main document request.<\/p><p>If your TTFB is more than a few hundred milliseconds, there might be some bottlenecks on your server that you need to investigate.<\/p><p>Google recommends that sites should process user actions\/inputs within 50ms to ensure a visible response within 100ms. For actions that take longer than 50ms to complete, always provide feedback, i.e., display a loading indicator or change the color for the active state.<\/p><h2 class=\"wp-block-heading\">What Causes a Slow TTFB?<\/h2><p>When it comes to WordPress sites, several different factors can affect Time to First Byte:<\/p><ul class=\"wp-block-list\"><li>Network latency<\/li>\n\n<li>High web traffic<\/li>\n\n<li><a href=\"https:\/\/wp-rocket.me\/blog\/how-fast-is-my-server\/\">Server configuration and performance<\/a><\/li>\n\n<li>Dynamic content<\/li>\n\n<li><a href=\"https:\/\/wp-rocket.me\/blog\/test-dns-server-response-time-troubleshoot-site-speed\/\">DNS response time<\/a><\/li><\/ul><p>There isn\u2019t much you can do to solve high web traffic or network issues. But there are ways you can address server configuration, dynamic content, and DNS response times, which we\u2019ll explore below.<br><\/p><h2 class=\"wp-block-heading\">How to Measure Time To First Byte: 4 Options<\/h2><p>The first step to uncovering why your TTFB is time is high is to measure it. There are several ways you can measure TTFB, but keep in mind that each of the tools below will output different TTFB, so I recommend using the tool you\u2019re more familiar and comfortable with.<\/p><h3 class=\"wp-block-heading\">1. Measuring TTFB with GTmetrix<strong><br><\/strong><\/h3><p>You can easily <a href=\"https:\/\/wp-rocket.me\/blog\/gtmetrix\/\"><strong>measure TTFB with <\/strong>GTMetrix<\/a>, which refers to this metric as \u201cwaiting\u201d time.<\/p><p>To see your results, scan your site and open the waterfall. When you hover over the first result in the list, you\u2019ll see your loading metrics, including wait time (aka TTFB).<\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1403\" height=\"787\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB.png\" alt=\"GTmettrix - TTFB\" class=\"wp-image-3286250\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB.png 1403w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB-310x174.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB-768x431.png 768w\" sizes=\"(max-width: 1403px) 100vw, 1403px\" \/><figcaption class=\"wp-element-caption\">GTmettrix &#8211; TTFB<\/figcaption><\/figure><h3 class=\"wp-block-heading\">2. Measuring TTFB with WebPageTest<\/h3><p>You can also measure your TTFB with <a href=\"https:\/\/wp-rocket.me\/blog\/pingdom-vs-gtmetrix-vs-webpagetest-different\/\"><strong>WebPageTest<\/strong><\/a>. When you scan your site, you\u2019ll get your TTFB in seconds.<\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1378\" height=\"333\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/WebPageTest-example-1.png\" alt=\"WebPage Test - TTFB\" class=\"wp-image-3286271\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/WebPageTest-example-1.png 1378w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/WebPageTest-example-1-310x75.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/WebPageTest-example-1-768x186.png 768w\" sizes=\"(max-width: 1378px) 100vw, 1378px\" \/><figcaption class=\"wp-element-caption\">WebPage Test &#8211; TTFB<\/figcaption><\/figure><h3 class=\"wp-block-heading\">3. Measuring TTFB with Pingdom<\/h3><p><a href=\"https:\/\/tools.pingdom.com\/\"><strong>Pingdom<\/strong><\/a> also measures TTFB, referring to it as \u201cwait\u201d time. To use this tool, simply scan your site and scroll down the results to the \u201cFile Requests\u201d section, where you\u2019ll see wait times for your site and individual requests.<\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1477\" height=\"797\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/pingdom-TTFB-1.png\" alt=\"Pingdom - TTFB\" class=\"wp-image-3286280\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/pingdom-TTFB-1.png 1477w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/pingdom-TTFB-1-310x167.png 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/pingdom-TTFB-1-768x414.png 768w\" sizes=\"(max-width: 1477px) 100vw, 1477px\" \/><figcaption class=\"wp-element-caption\">Pingdom &#8211; TTFB<\/figcaption><\/figure><h3 class=\"wp-block-heading\">4. Measuring TTFB with KeyCDN\u2019s Web Performance Tool<\/h3><p>Another fantastic tool for measuring TTFB is <a href=\"https:\/\/tools.keycdn.com\/performance\"><strong>KeyCDN\u2019s online Web Performance Test<\/strong><\/a>. It lets you quickly measure your TTFB from 14 different test locations. As you can see in the results below, the TTFB for the WordPress.org site is lower in the United States and higher in Europe, Asia, and Australia\u2014proof that distance and latency play a big role in TTFB.<\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"950\" height=\"855\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/KeyCDN-TTFB.png\" alt=\"KeyCDN - TTFB\" class=\"wp-image-3286291\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/KeyCDN-TTFB.png 950w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/KeyCDN-TTFB-217x195.png 217w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/KeyCDN-TTFB-768x691.png 768w\" sizes=\"(max-width: 950px) 100vw, 950px\" \/><figcaption class=\"wp-element-caption\">KeyCDN &#8211; TTFB<\/figcaption><\/figure><h2 class=\"wp-block-heading\">9 Ways to Reduce Time to First Byte (TTFB) on WordPress<\/h2><p>Let\u2019s look at how you can improve \u2014therefore reduce\u2014 the TTFB and the server response times on WordPress.<\/p><h3 class=\"wp-block-heading\">1. Use a Fast Web Host<\/h3><p>Using a <a href=\"https:\/\/wp-rocket.me\/blog\/shared-vs-vps-vs-dedicated-vs-cloud-hosting\/\"><strong>fast web host<\/strong><\/a> that has a carefully thought-out architecture will go a long way to reducing your TTFB. Managed WordPress hosts configure their servers specifically for WordPress sites, so you can be confident your dynamic content is in good hands.<\/p><p>You must consider where your host\u2019s servers are located. Choose a host that is located physically closer to where your users are. For example, if most of your users are located in Europe, it would make sense to host your site in Europe, not in the United States. (Although you can get around this with a CDN, which we\u2019ll look at below.)<\/p><p>While you can\u2019t control your site\u2019s amount of traffic, you can manage your site\u2019s scalability. So if you\u2019re expecting high traffic to your site, ensure your host can scale your site quickly to improve its TTFB.<\/p><h3 class=\"wp-block-heading\">2. Use Caching<\/h3><p>One of the easiest ways to decrease TTFB is to <a href=\"https:\/\/wp-rocket.me\/blog\/wordpress-page-caching-explained-in-plain-english\/\"><strong>set up caching on your WordPress site<\/strong><\/a>. Caching helps decrease TTFB by helping reduce the server processing time.<\/p><p>Check with your web host to see what they offer as far as object caching does. Often, all you need to do is ask your host to enable it.<\/p><p><strong>You can also enable WP Rocket to cache pages on your site<\/strong>, so your pages are delivered faster to returning site visitors. You\u2019ll get the job done with no effort from your side. Once you enable WP Rocket, the plugin will do the job for you.<\/p><p><a href=\"https:\/\/wp-rocket.me\/features\/?utm_source=blog&amp;utm_medium=organic&amp;utm_campaign=blog-middle-cta-4&amp;utm_content=ttfb\"><strong>Get WP Rocket now, and test the improvement right away!<\/strong><\/a><\/p><h3 class=\"wp-block-heading\">3. Use GZIP Compression<\/h3><p>By applying GZIP compression, you\u2019ll reduce the size of HTML, CSS, and JS files \u2013 all resources will download faster, and you\u2019ll reduce the TTFB.&nbsp;<\/p><p>Check out your hosting provider: some hosts enable GZIP compression by default.<\/p><p>WP Rocket also applies GZIP compression on sites running on Apache \u2013 you only have the enable it!<\/p><p>As a free alternative, you can use a plugin such as <a href=\"https:\/\/wordpress.org\/plugins\/enable-gzip-compression\/\">Enable Gzip Compression<\/a>.<\/p><h3 class=\"wp-block-heading\">4. Optimize Your Database<br><\/h3><p>A database containing too much unnecessary data \u2013 such as posts revisions, trashed and spam comments, and temporary files created by plugins \u2013 will affect your server response time. You should optimize your database\u2019s size and run regular cleanups.<\/p><p>WP Rocket gives you an easy way to optimize your database, reduce bloat, and schedule automatic cleanups.&nbsp;<\/p><p>You\u2019ll find a dedicated tab including all the features, such as Post, Comments, and Automatic cleanup (daily, weekly, or monthly frequency):<\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"947\" height=\"627\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/WP-Rocket-Database-Tab.png\" alt=\"The database tab - WP Rocket\" class=\"wp-image-3286302\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/WP-Rocket-Database-Tab.png 947w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/WP-Rocket-Database-Tab-295x195.png 295w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/WP-Rocket-Database-Tab-768x508.png 768w\" sizes=\"(max-width: 947px) 100vw, 947px\" \/><figcaption class=\"wp-element-caption\">The database tab &#8211; WP Rocket<\/figcaption><\/figure><p>As an alternative, you can choose a straightforward database plugin such as <a href=\"https:\/\/wordpress.org\/plugins\/wp-dbmanager\/\">WP-DBManager<\/a>, or an all-in-one plugin like <a href=\"https:\/\/wordpress.org\/plugins\/wp-optimize\/\">WP-Optimize<\/a>, that cleans the database, compresses images and caches the site.<\/p><h3 class=\"wp-block-heading\">5. Use a CDN<\/h3><p>Using a good quality CDN <a href=\"https:\/\/rocketcdn.me\/\">like RocketCDN<\/a> can help deliver your static content, like images and scripts, faster to users via a network of servers worldwide. This means that if your server is geographically located in Europe, for example, and your users are mostly in the United States, they will receive your site\u2019s content from a server location that\u2019s closer to them.<\/p><p>This reduces the network latency between your site\u2019s server and your visitors.<\/p><p>For more on CDNs and choose the find one, check out <a href=\"https:\/\/wp-rocket.me\/blog\/cdn\/\"><strong>How to Choose a CDN: Discover the Best CDNs for WordPress.<\/strong><\/a> You can also learn more about which <a href=\"https:\/\/rocketcdn.me\/benefits-cdn\/\">benefits and advantages a CDN will offer<\/a>. <\/p><div id=\"om-owmvrkh4grl6rsk0l0re-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, 'owmvrkh4grl6rsk0l0re')<\/script><h3 class=\"wp-block-heading\">6. Keep WordPress, Plugins, and Themes Updated<\/h3><p>The WordPress core team and plugin and theme authors often add performance optimizations to their updates. Sometimes, this means they have optimized the queries that their code runs to the database or made updates that affect the PHP code\u2019s efficiency.<\/p><p>It\u2019s a best practice only to keep <a href=\"https:\/\/wp-rocket.me\/blog\/wordpress-plugins-many\/\"><strong>the plugins and themes you need<\/strong><\/a> and delete the rest. So regularly review your plugins and themes, and remove any that you\u2019re no longer using.<\/p><p>The quality of your plugins can also impact your TTFB, so look out for plugins that are affecting your site\u2019s performance. Broken Link Checker, for example, is designed to run in the background, checking for broken links every so often. The result is a slow WordPress admin and increased TTFB.<\/p><h3 class=\"wp-block-heading\">7. Reduce Queries<\/h3><p>Often, the number of queries your site runs to get information from the database can affect TTFB. To help identify any query bottlenecks, try installing a diagnostic plugin like <a href=\"https:\/\/wordpress.org\/plugins\/query-monitor\/\"><strong>Query Monitor<\/strong><\/a> or consider a more heavy-duty tool like <a href=\"https:\/\/newrelic.com\/\"><strong>New Relic<\/strong><\/a>. The latter will help you dig into database queries that are the most time-consuming or have the slowest query time so you can find which plugins, themes, or settings are affecting your site\u2019s page speed.<\/p><h3 class=\"wp-block-heading\">8. Use a Premium DNS Service<\/h3><p>Typical hosting packages don\u2019t offer premium DNS (although some managed WordPress hosts do). Investing in a premium DNS provider will ensure <a href=\"https:\/\/wp-rocket.me\/blog\/test-dns-server-response-time-troubleshoot-site-speed\/\"><strong>DNS queries are answered with low latency<\/strong><\/a> by using a global network of DNS servers, in turn helping to reduce your TTFB.<\/p><p>If you want to take this a step further, consider enabling DNS prefetching on your site. This technique lets you tell the browser to perform DNS lookups on a page in the background while the user is browsing. For more on this, check out <a href=\"https:\/\/wp-rocket.me\/blog\/preload-prefetch-preconnect-speed-site-browser-resource-hints\/\"><strong>Preload, Prefetch, Preconnect: How to Speed Up Your Site With Browser Resource Hints<\/strong><\/a>.<\/p><h3 class=\"wp-block-heading\">9. Don\u2019t Forget the Latest Version of PHP<\/h3><p>Using a 7+ PHP version will also improve your time to first byte. To give you a straightforward reason, <a href=\"https:\/\/kinsta.com\/blog\/php-benchmarks\/#benchmark-results\">PHP 7+ can handle almost 50% more requests per second<\/a>. So, if you are still on PHP 5.6, it\u2019s time for an upgrade!<\/p><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\">Improve your Time to First Byte on WordPress Right Away<\/h2><p>You could implement loads of other advanced techniques on your site to improve your TTFB, such as Disk IO, TLS overhead, reducing autoloaded data, and more. But the methods we\u2019ve covered in this article are relatively simple to implement and will give you the biggest boost for your site\u2019s performance.<\/p><p><a href=\"https:\/\/wp-rocket.me\/pricing\/?utm_source=blog&amp;utm_medium=organic&amp;utm_campaign=blog-final-cta-3&amp;utm_content=ttfb\"><strong>WP Rocket is the easiest way to improve your TTFB<\/strong><\/a> and achieve outstanding speed improvements while stopping using different plugins to boost performance. And you don\u2019t even have to touch the code!<\/p>","protected":false},"excerpt":{"rendered":"<p>Are you looking for a way to reduce Time to First Byte on your WordPress site? Keep reading! You\u2019ll find everything you need to know to reduce the server response times and speed up your site.<\/p>\n","protected":false},"template":"","core_web_vitals":[132],"class_list":["post-3286243","core_web_vitals_hub","type-core_web_vitals_hub","status-publish","hentry","core_web_vitals-improve-largest-contentful-paint"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Reduce Time to First Byte (TTFB) and Server Response Times on WordPress<\/title>\n<meta name=\"description\" content=\"Optimized the website front-end and it\u2019s still loading slowly? It&#039;s time to look at your time to first byte (TTFB). Learn what it is and how to improve it.\" \/>\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\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Reduce Time to First Byte (TTFB) and Server Response Times on WordPress\" \/>\n<meta property=\"og:description\" content=\"Optimized the website front-end and it\u2019s still loading slowly? It&#039;s time to look at your time to first byte (TTFB). Learn what it is and how to improve it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/\" \/>\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=\"2023-07-26T12:15:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB.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=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/\",\"url\":\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/\",\"name\":\"How to Reduce Time to First Byte (TTFB) and Server Response Times on WordPress\",\"isPartOf\":{\"@id\":\"https:\/\/wp-rocket.me\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB.png\",\"datePublished\":\"2021-08-16T14:06:45+00:00\",\"dateModified\":\"2023-07-26T12:15:06+00:00\",\"description\":\"Optimized the website front-end and it\u2019s still loading slowly? It's time to look at your time to first byte (TTFB). Learn what it is and how to improve it.\",\"breadcrumb\":{\"@id\":\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/#primaryimage\",\"url\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB.png\",\"contentUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB.png\",\"width\":1403,\"height\":787},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wp-rocket.me\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Core Web Vitals\",\"item\":\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Largest Contentful Paint\",\"item\":\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/improve-largest-contentful-paint\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How to Reduce Time to First Byte (TTFB) and Server Response Times 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":"How to Reduce Time to First Byte (TTFB) and Server Response Times on WordPress","description":"Optimized the website front-end and it\u2019s still loading slowly? It's time to look at your time to first byte (TTFB). Learn what it is and how to improve it.","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\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/","og_locale":"en_US","og_type":"article","og_title":"How to Reduce Time to First Byte (TTFB) and Server Response Times on WordPress","og_description":"Optimized the website front-end and it\u2019s still loading slowly? It's time to look at your time to first byte (TTFB). Learn what it is and how to improve it.","og_url":"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/","og_site_name":"WP Rocket","article_publisher":"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","article_modified_time":"2023-07-26T12:15:06+00:00","og_image":[{"url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB.png"}],"twitter_card":"summary_large_image","twitter_site":"@wp_rocket","twitter_misc":{"Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/","url":"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/","name":"How to Reduce Time to First Byte (TTFB) and Server Response Times on WordPress","isPartOf":{"@id":"https:\/\/wp-rocket.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/#primaryimage"},"image":{"@id":"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/#primaryimage"},"thumbnailUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB.png","datePublished":"2021-08-16T14:06:45+00:00","dateModified":"2023-07-26T12:15:06+00:00","description":"Optimized the website front-end and it\u2019s still loading slowly? It's time to look at your time to first byte (TTFB). Learn what it is and how to improve it.","breadcrumb":{"@id":"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/#primaryimage","url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB.png","contentUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/04\/GTmetrix-TTFB.png","width":1403,"height":787},{"@type":"BreadcrumbList","@id":"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/reduce-ttfb-server-response-times\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wp-rocket.me"},{"@type":"ListItem","position":2,"name":"Core Web Vitals","item":"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/"},{"@type":"ListItem","position":3,"name":"Largest Contentful Paint","item":"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/improve-largest-contentful-paint\/"},{"@type":"ListItem","position":4,"name":"How to Reduce Time to First Byte (TTFB) and Server Response Times 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\/core_web_vitals_hub\/3286243"}],"collection":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/core_web_vitals_hub"}],"about":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/types\/core_web_vitals_hub"}],"wp:attachment":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/media?parent=3286243"}],"wp:term":[{"taxonomy":"core_web_vitals","embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/core_web_vitals?post=3286243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}