• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
NameHero® Blog

NameHero® Blog

Web Hosting Tips & Resources From NameHero

  • Hosting
    • Web Hosting
    • WordPress Hosting
    • WooCommerce Hosting
    • Enterprise Hosting
  • VPS
    • VPS Hosting
    • Flex VPS
  • Reseller
  • Email
  • Gaming
  • Domains
  • Website Builder
  • Account
  • Blog Home
  • Categories
  • Authors

How to Reduce Your TTFB to < 0.5 Seconds

Bhagwad Park

Published on: June 30, 2020

Categories: Website Performance 4

Google has a habit of throwing everyone into a tailspin with their announcements. For years, they’ve played coy with page speed, only hinting that it might be a ranking factor – and not a particularly important one. Last month however, they announced in a blog post that their “Core Web Vitals” will be officially integrated as ranking signals sometime next year. To this effect, I’d written earlier about how I had dropped my Cumulative Layout Shift (CLS) to zero. In this article, I’ll talk about how I dropped my TTFB to below 0.5 seconds on an average.

A Note on Measurement

0.5 seconds might seem a lot to you, but that’s the problem with the arithmetic mean. A single large value can completely screw over your metrics. Which is why it’s better to use the median instead of the mathematical average. Google themselves talk about trying to keep your site speed above 75% of all websites, so it’s obvious that they don’t rely on the mathematical mean as well.

My Results

But first, let me show you what I achieved. Here’s a screenshot of my Google Analytics page showing the server response times on WP-Tweaks.com:

Reduce your TTFB Server Response Times
Reduce your TTFB Server Response Times

You can see that when I finally figured out the solution, my server response times increased by at least 50%! Ignore the “0.94” seconds average on the bottom since that includes the entire 2 months of data that I’ve included in my Google Analytics report. My current (mathematical) average is now just 0.54 seconds:

Check the Median and Not the Arithmetic Mean for Page Speeds
Check the Median and Not the Arithmetic Mean for Page Speeds

The median is even lower than 0.54 seconds as you can see below.

Why TTFB? It’s Not a Ranking Factor!

TTFB isn’t a ranking factor. But the Largest Contentful Paint (LCP) is. And Google says you need to get the LCP down to below 2.5 seconds. That doesn’t leave a whole lot of time to spare, and if you can shave off even half a second from your server response time, that itself goes a long way towards lowering your LCP to below 2.5 seconds to make Google happy.

Using Cloudflare’s “Cache Everything”

I’ve blown hot and cold over Cloudflare’s “Cache Everything” functionality over the years. In an earlier article, I’d called it a waste of time, but I finally decided to use it along with the cool plugin called WP Cloudflare Super Page Cache.

This plugin not only caches your pages, it also clears the specific URL cache on events such as a post updating. It helpfully clears your archive pages only when you add a new post, and so on and so forth. One of the biggest problems with Cloudflare’s Cache Everything is that logged in users couldn’t see the admin version of the page, but also there was a danger that the admin version would be accidentally cached and shown to everyone!

The plugin helpfully solves these problems via API calls and also appends query strings that bypass the cache when you browse it as a logged in user. In short, it makes the behavior as close to “normal” as possible with the Cloudflare URL caching enabled.

Best of all, this is free. Both Cloudflare and the WordPress plugin can be had for no cost at all. It took a little while for the cache to warm up and start delivering from the EDGEs, but it’s made a huge difference to the page response times as you can see. Particularly since a few pages likely make up the bulk of your site’s visitors and those will always be cached due to the heavy traffic. It leaves your origin server free to service the rarer requests, which also speeds things up.

Summary

Hopefully you can achieve the same results that I did with Cloudflare and the WordPress plugin. Reducing your TTFB is absolutely crucial, as the rest depends a lot on the user’s browser, their internet connectivity, and more. The TTFB however is one thing that is completely under your control, and that’s why you should try and maximize it as much as possible.

Bhagwad Park Profile Picture
Bhagwad Park

I’m a NameHero team member, and an expert on WordPress and web hosting. I’ve been in this industry since 2008. I’ve also developed apps on Android and have written extensive tutorials on managing Linux servers. You can contact me on my website WP-Tweaks.com!

Related Posts

Five Ways To Fix ‘Error 404: The Requested URL Was Not Found On This Server’

If you've run into the Error 404: The Requested URL Was Not Found On This Server error, check out these five ways to fix it quickly!

Four Easy Fixes For The ‘ERR_NETWORK_CHANGED’ Error

This quick guide is your roadmap to resolve the ERR_NETWORK_CHANGED error. Full of easy fixes and detailed walkthroughs!

How to Track Competitor Website Traffic in 2025

Let's look at reasons for tracking competitor traffic and discuss key metrics to measure. Then, we'll share three excellent tools!

4 Caching Strategies That Will Speed Up Your Website

Let's explain what caching is and why it’s beneficial. We’ll then explore some caching strategies to supercharge your website's speed.

Reader Interactions

Comments

  1. Peder says

    July 14, 2020 at 10:43 am

    Hi, I assume that you then delete the Lite Speed cache plugin when using the WP Cloudflare Super Page Cache

    Reply
    • Bhagwad Park says

      July 15, 2020 at 12:33 am

      No, I would still keep it. The reason is that a good chunk of requests will still hit your origin server. And when that happens, you want the LiteSpeed caching plugin to speed things up!

      The LiteSpeed caching plugin automatically purges relevant content on your site when stuff changes, so it’s completely transparent.

      For debugging though, you should keep track of both of them…

      Reply
  2. John says

    January 24, 2021 at 5:12 am

    What about quic.cloud. NameHero recommends quic.cloud instead of cloudflare in this article…https://help.namehero.com/en/articles/4457756-how-to-increase-your-website-s-performance

    Which is NameHero’s official recommendation?

    Thank you

    Reply
    • Bhagwad Park says

      January 25, 2021 at 1:01 pm

      You should test out both and see which works for you! QUIC.cloud is still very new, and in beta. It’s also less feature complete compared to Cloudflare right now. However, it has much better integration with the LiteSpeed backend.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Follow & Subscribe

Exclusive promos, content and more!


Most Popular Posts

NameHero’s Recommended WordPress Plugin and Theme Setup (2024)

WordPress Hosting vs. Web Hosting – What’s The Difference?

How To Increase The InnoDB Buffer Pool Size

How To Fix A Stuck All-in-One WP Migration Import

How To Add A Subdomain In Cloudflare

Top Categories

  • WordPress
  • WordPress Tutorials
  • Enterprise Hosting
  • WooCommerce
  • Web Hosting
  • Resellers
  • Website Security
  • Website Development
  • Website Performance
  • VPS Hosting
  • SEO Tips
  • Announcements
  • Domain Registration
NameHero

NameHero® proudly provides web hosting to over 40,000 customers with 99.9% uptime to over 750,000 websites.

  • Master Card
  • Visa
  • American Express
  • Discover
  • Paypal
Products
  • Web Hosting
  • VPS Hosting
  • Flex VPS Hosting
  • WordPress Hosting
  • WooCommerce Hosting
  • Reseller Hosting
  • Enterprise Hosting
  • Email Hosting
  • Game Hosting
  • Domains
  • Website Builder
Help & Support
  • NameHero Blog
  • NameHero Gaming Blog
  • Support
  • Help Center
  • Migrations
  • Affiliates
  • Gaming Affiliates
  • Call 1-855-984-6263
Company
  • About Us
  • Contact Sales
  • Reviews
  • Uptime
  • We're Hiring

Copyright © 2025 Name Hero, LLC. All rights reserved.
NameHero® is a registered trademark.

  • Privacy Policy
  • Terms of Use
  • Acceptable Use Policy
  • Payment Policy
  • DMCA