The Fastest Website in the World

Since a lot of people out there land on my personal website looking for help and assistance making really really fast websites, which rank well in Google, often I’m asked questions about how to make fast sites.

I’ve updated this a little in 2024, since it was originally posted – including a variety of theme changes. It is worth recognising, I’m running WordPress at latest release, along with a theme from the free WordPress.org repository, with no customisations – which is to say, I achieve speed you can achieve too, by following the thought processes outlined below – there’s nothing I’m doing with this fast site that you couldn’t do yourself.

If you’d like to make the fastest website in the World, how would you go about doing this?

Well, the short answer is, every single element needs to be 100% optimal.

I’ve been accused by some developers of practicing “micro-optimizations” which I take to be a compliment. Of course I practice this. Like a Formula 1 engineer, optimal is a case of piling micro-optimization after micro-optimization on top of each other in order to achieve a stack of optimized machinery which, when all is added together, is as fast as it is possible to go.

So where to start?

Let’s begin at the beginning. I’m going to talk about hosting a PHP web application, like WordPress. You can use JS frameworks, or write plain HTML which is very fast. But the majority of businesses use a CMS, and the majority of people who use a CMS use WordPress, because it is stable and easy for less technical members to familiarise with. So let’s speed up the typical WordPress stack.

Fastest Website?

This website – robinjescott.com – loaded during testing in 0.2-0.313 seconds on home. This post’s URL loads in 0.35-0.47 seconds (tested via Pingdom) in London, UK. Load times globally will differ a little, but all elements are fully loaded in under 1 second in all test locations.

Google PageSpeed Insights lab score on the home page of this website is 98 (mobile) and 100 (desktop). Yslow score is 100.

A screengrab showing Google Core Web Vitals PASS and lighthouse metrics for this web page

This website runs the latest version of WordPress, and a child theme of the stock Twenty Twenty One theme (with a background image and dark mode styling). In short, you can be this fast.

WordPress is Fast, Secure & Ranks

  • Never been hacked – running WordPress.
  • Under 0.4 seconds fully loaded – running WordPress.
  • Ranked on the first page of Google results as “the fastest website in the World” – running WordPress.

Your Domain Nameservers and DNS

The nameservers you use to host your domain records, and the DNS records themselves matter in terms of speed.

There are two issues here: lag and server response time. There are other considerations here, too, such as TTL, which will tell all the various network caches around the world how long your domain DNS records are authoritative. Unless you are making regular changes to your DNS, and unless you have a particularly fast and globally available namesevers, you should set this to be pretty long, like 12 or 24 hours (or more).

My recommendation for your nameservers is to look at globally available service like AWS Route 53. These cost something like $0.50 a month to host all your domain’s DNS, but are blazing fast globally.

Side Note I also like CloudFlare – but note you can get some latency issues unless you enable Argo (has a cost monthly and for bandwidth) and you may struggle to keep CloudFlare’s caches warmed – which is a whole other subject. Note it is possible – I’m using CloudFlare for this site right now. Hire me if you’re in this rabbit hole!

Set your domain @ records TTL to be 48 hours or longer if you don’t expect to change these – allow network level caching to do it’s thing.

Your Hosting Machine & Stack

There are a lot of elements to the hosting machine, but general rules apply, as well as some specifics.

For WordPress sites, I recommend either:

If your site is a PHP application running Magento or similar, I recommend to try your site on Cloudways – use Vultr.

Note if your site is WordPress with WooCommerce, have a look at the Best WooCommerce hosts here.

Check out my article about best WordPress hosting over at Silicon Dales for more on this subject, which touches on the specific merits of various WP managed hosts.

Don’t use Shared Hosting

If you are looking for optimal, do not use shared hosting. This is a recipe for disaster, because (and the clue is in the name) your site will share resources with others, leading to bottlenecks.

Use a VPS, Cloud Host or Dedicated Server

You want your resources dedicated to your instance. Which is best depends a little on the size, scaling requirement, and location of your hosting machine – all of which are debatable – and whether or not you need clustering or redundancy to be factored in.

Buy as much hardware as you can afford… but not more than you need

I often see people throwing hardware at sites in an effort to go faster. It doesn’t work like this. You need RAM and CPU to be sufficient, and there is a performance advantage to certain choices (like choosing SSD drives, or having more CPU cores for certain operations) but in a lot of cases, the hardware needs only to be sufficient. Big enough, and capable of holding the fastest software is sufficient here.

The Web Server – Nginx

Apache is slow. There, I’ve said it. It is also a very powerful and stable web server. In my opinion, Nginx should be taking the initial requests, however, and either serving directly, or caching apache’s slight slowness out of the mix.

As someone has commented, Litespeed is a reasonable alternative to Apache. I’ve found that a LEMP stack will marginally outperform Litespeed, and I have a slight preference not to use proprietary software (Nginx is Open Source). Certainly, taking Apache out of the equation is a Good Thing.

Use PHP 7.4+

The most recent version of PHP is faster than the last. It’s also more secure. But, you will likely need to refactor your code to be error free, particularly if you have code which is a few years old. Consider dropping support for older versions of PHP in your code, if you will never use them.

MySQL – Consider MariaDB 10+ or MySQL 8

MySQL 8.0 is looking likely to be a real performance boost. Until this is regularly available, MariaDB 10 is a really fast alternative. Please note that conversion from MySQL 5.7+ to MariaDB is not straightforward, so you need to make a decision at this point (there are other ways to import data, but it is worth remembering to make your decision at MySQL 5.6 with this in mind).

There are other (somewhat political) reasons to make the MySQL vs MariaDB choice. I’ll not get into politics here, except if it impacts speed. MySQL 8.0 shows a moderate performance boost over all equivalents in my most recent benchmarking.

Look at your Code

Maybe I should have led with this. Slow performance is almost always a result of some code (or lots of code) in the system which does things the long way around. You need all the elements of your code to do things fast. Think fast first when you are choosing everything software related, including your theme and plugins if you use WordPress.

Check Your Plugins

If you’re running a WordPress site, you’re likely using Plugins. Not all plugins are made equal. Some are quite slow. At the most basic, try to identify any plugins which are generally slow (load the site with / without them – I use WP CLI profile tool for this, but just manually can work, if this is how you need to work!), and see if you can lose them altogether, or replace with a lighter option.

Once you start to consider each plugin added adds weight to your pages, you’ll become a bit more discerning about what goes into your WP site. Welcome to my world! But also, this process is necessary. You’ll never be optimal if you only think about how things look, or the functionality you need, without considering the performance issues this feature or additional code will raise.

BUT, remember, there is a cost to everything, and sometimes, the cost is worth paying. I liken this to a fast car – want to make it even faster, take some weight out. Removing the back seats would make your car faster, but maybe you want seats! If you want seats in your car, removing them would be absurd (though faster). It isn’t as simple as “only thinking fast” for a car, and neither is it for a website. Optimal means the fastest car with back seats. Or maybe you need to transport 40+ people, in which case, you’re looking to make a bus travel faster. A different task, entirely 🙂

Check Your Theme

Again for WordPress, your theme could be the source of some slowness. In general “multipurpose” premium themes which are purchased and contain almost everything in an options panel are slower than custom built themes, which can be kept very light.

This is like comparing that good old family car to a tricked out racing 4WD rally car again. They have the same roots, and they look similar, but they are built for completely different purposes.

But you’re here looking for the fastest website in the world, right?!

If you want the fastest car in the world, you wouldn’t start with an SUV (a general purpose vehicle). You’d probably start with a sports car.

For the fastest website in the world, you’re probably going to need to get your virtual hands dirty coding a custom theme – or at least developing a light-weight starter theme.

Watch out for Page Builders!

What’s a page builder? These are plugins which allow you to quickly implement designs. Popular builders include Elementor, Beaver Builder, Visual Composer and WP Bakery.

These page builder tools allow you to quickly build beautiful designs. So convenient, and just outstanding visual appeal. However, this comes at a cost, and that cost is you sacrifice a little performance with most page builders. Some are worse than others, but a website which looks the same, but doesn’t have a page builder, will almost always be faster (assuming you do everything else in this page).

However, if you use the page builder to make pages, then throwing it out could be a bad move.

It is for related reasons that people make headless setups. Headless involves building your site in a fast loading location which pulls content from the WordPress site. It’s a lot of architecture, to achieve a super-fast outcome. I’m avoiding discussion of this here, because it’s not for the faint-hearted, and is not an option “just anyone” can implement.

The latest versions of WordPress are now shipping with “full site editing” and the Gutenberg editor; both of these things will in the near future allow all users to dispense with their page builders plus those who make page builders are now fully focussed on performance to keep up.

For now, consider replacing your page builder with some PHP templates, meta boxes or just using the built-in editor to say it with text and cut out the cruft.

Got WordPress? Get Speed

Couple of services you may be interested in if you are a business and you run WordPress to really speed away from your competition:

What do you do with a fast website? Well, I like to use mine, here, to do things like flag up retailer deals and offers – for example, these Pretty Little Thing deals & coupons.

Got Questions – Leave them below

There’s obviously lots more I can add in here. If you’re interested to know more, see my long guide to optimizing WooCommerce for some granular stuff you could get into, or ask a question below.

I aim to build this section out more over time to become a working guide to the fastest possible stack for your PHP web applications.

Please ask and complain if you agree, disagree or want to know more.

How do I get a Fast Website?

In conclusion:

  1. Choose a fast framework or software (WordPress is a good choice)
  2. Choose a fast host (see my post on best WooCommerce hosting – the recommendations in there are fast)
  3. Don’t add plugins or frameworks which are bloated or perform “slowly” (test them!)
  4. Optimize your images – and serve them in “next gen” formats, like Webp – so they are as small as possible
  5. Lazy load elements which are unseen without scrolling – someone who doesn’t scroll won’t need to load this stuff (this includes images, CSS, js and etc)
  6. Think mobile first – consider AMP (yeah, there’s some issues, but it is blazing fast)
  7. Cut out the cruft generally – optimization is a way of thinking, not just some magic bullet. Think about how to say what you need to say as fast as possible.

About Robin Scott

I'm Robin Scott, a WordPress Consultant and WooCommerce expert developer who, along with three other people, runs a business called Silicon Dales Ltd remotely, from a base in the North of the UK. I enjoy using my talents for programming to track and interpret sporting, political or retail data - and therefore you'll see me posting some content in these spaces in this, my personal website. If you're interested to talk about leveraging this for your business (in sport, entertainment, retail, etc) please contact me.

21 thoughts on “The Fastest Website in the World”

  1. Please note, this piece is deliberately vague. I’m focussing on choices you will need to make, not technical solutions. There’s plenty of tutorials out there – I’ve posted a lot of them myself. This is a slightly wider view about what fast is, and how to get there.

    Reply
  2. An interesting discussion is worth comment. I think that you should publish more about this subject, it may
    not be a taboo subject but generally folks don’t discuss such topics.
    To the next! Kind regards!!

    Reply
      • I love that you’ve written a wide approached article to building a fast site.

        I am obsessed with site speed and have found litespeed servers to be insanely fast…

        For example, i have litespeed server with litespeed cache partnered with cloudflare static caching cdn. In the UK on Chrome, Safari etc and on pingdom my site loads in just over half a second on the homepage….

        Not that impressive, but…

        My huge 11mb webpage on google algorithm updates loads in 0.6 seconds with the above stack;

        No VPS, just a decent cloud hosting in the UK.

        In the coming years and the move away from pc, page site speed is going to become ever more important for both UX and SEO.

        Mobile is substantially slower and thus, you need insanely fast desktop load times just to buffer then inevitable drop when a user visits a site on mobile.

        But yeah, i might be a little insane like you for page speed 🙂

        All the best,
        Adam

        Reply
        • Yeah Litespeed is usually better than Apache for speed. It generally performs a little slower than straight Nginx (and is also proprietary rather than open source too).

          Most people seem to compare Nginx + Apache with Litespeed, which is an unfavourable comparison.

          Compare it with a LEMP stack, with no Apache, and you’ll find Nginx is a clear winner.

          Reply
    • Hi Asif,

      Upgrading to PHP 7, wouldn’t “damage” your site, but some of your plugin or theme files might not be compatible, and this would cause an error, and in some cases, lead to a white screen (i.e. your site not working). You would want to check and resolve these errors BEFORE you upgraded.

      There’s a plugin called “PHP Compatibility Checker” which is in the WP repo (it’s made by WP Engine) which can help with this, or I would also recommend posting a task for a developer to test and confirm this before you make the switch, if you’re not comfortable with this.

      Reply
  3. Forgot to mention…

    QUIC CLOUD (a litespeed cdn) is in beta currently that does both dynamic cdn caching (php etc) AND static cdn caching which is insanely fast….

    I have tested it and using lscache, litespeed server, and quic cdn (dynamic and static caching) is substantially faster than lscache, litespeed server, and cloudflare static.

    Give it try! My only recommendation is use it on test sites currently as it is in beta and i have experienced some bugs which have made me revert to cloudflare cdn until quic cloud is out of beta.

    All the best,
    Adam

    Reply
  4. It would be the fastest if you didn’t have 400kb of fonts loading! 🙂

    To be honest, there’s this misconception that you can’t get fast speeds unless you shun shared hosting, but you can easily get 0.5 seconds using shared hosting and Cloudflare/Stackpath.

    It’s all in the details or micro-optimisations, as you’d say.

    Recently I got a perfect score on Lighthouse Chrome DevTools and revealed a Google Easter Egg. This is on an AMP site, but AMP is in fact SLOWER unless it’s served from an AMP cache by Google or Cloudflare.

    Now just setting up a new site that’s regular WordPress, using GeneratePress and Elementor, as that’s the lightest combo I can find at 27.3 kb for stock WordPress and Premium GP.

    For comparrison, stock Themify Ultra which includes Themify Builder is 160kb. To be fair to Themify, it’s easy to turn things off so it loads lighter, but why waste code turning features off? It’s like a double waste.

    Good work, though. Thanks for the read.

    Reply
    • This is currently running the alpha version of WordPress 5.4, and as a consequence, you will see it has the fonts loading from the 1.0 version of Twenty Twenty theme, unadulterated. i.e. anyone can achieve this, with stock theme. Removing the fonts would obviously make the overall payload lower. There’s a trade-off to be made there, similar to that described in the post itself. Most clients and end-users are selective and will have an opinion about fonts.

      Ideally, I’d host a white page with only text, in arial 😉

      Reply
  5. omg, propagation of WP which is slow and not secure system, all is lie here..i create website over 10y in PHP and WP is my enemy..it’s for amaters..WP made just trash on internet

    Reply
    • I’ve approved this comment because you just filled my bingo card 🙂

      1) WordPress is slow – well, obviously not… how you landed here is you searched up the fastest website.
      2) WordPress is not secure – nope. That’s like saying houses are not secure. Security is the job of the system administrator.
      3) WordPress is for amateurs. No. I earn a very good living using WordPress every day.

      WordPress is built with PHP. Just because you don’t like a tool doesn’t mean it isn’t useful. It doesn’t suit all purposes, but WordPress can load very fast, in professional hands.

      Thank you for completing my Full House on the myths about WP bingo card. I feel like a big winner for Wednesday now 🙂

      Reply
  6. I did a post about page loading times as I was excited that on day 1 of first deployment and design of a new blog. I then did a search for “fastest website in the world” and guess what? I was very pleased with your article. I’m actually going to be moving my personal projects to a VM I have at a datacentre just 5 mins from my house in Manchester soon and the provider recommends a LEMP stack as it happens, and I couldn’t be happier with exploring this and moving my personal projects over in this way initially as I learn more about Nginx and Maria DB. I’ve downloaded Heidi SQL locally also on recommendation. Anyways, I love all the comments and esp. your replies! Really nailed it here for me, happy days!

    OK, so plug time (if you’ll allow) I’d like to say that I put a link to your post as a comment on my recent blog post.

    So without further adue, here is my post about page loading times:

    https://dredevops.com/need-for-speed/

    Info: I’m using the Hello theme from Elementor which is one of the fastest vanilla themes that I know of but I haven’t even started my optimisation journey yet. I’m excited get a result of 259 ms initially! Godspeed!

    Reply
    • Hi Dre,

      Best of luck! Elementor is a pretty good pagebuilder when it comes to optimization.

      Be sure to check out AMP project – when it comes to Google’s PageSpeed Insights, you’ll find an all AMP site will score really high. I know not everyone loves AMP, but… well Google has some authority in the space. They are all-in on AMP.

      Reply
      • Thank you Robin, much appreciated.

        I was just searching to see if my post came up in the results for my own keywords, and yours showed up before mine ha ha! It reminded me to check and reply.

        Aye, I would have seldom touched a page builder with a barge pole, then Elementor came along and changed the game.

        I regularly attend the monthly Elementor and WordPress User Group meetups here in Manchester, which are of course online now (accessible to all).

        In this month’s MWUG run by Mike Little (co-founder of WP) he talked about AMP and it seems certain that Google will favour an AMP story over a non-AMP story amongst other things. I’m glad you’ve mentioned it again, as it has prompted me to actually look into this framework. Exciting stuff!

        First things first, I’m going to start looking into moving from Apache/Litespeed and MySQL to pure Nginx and Maria DB on recommendation from a provider that I trust who has provisioned me a CentOS VM which I’m going to play around with initiall (as I’m more familar with Ubuntu/Debian) and I’m fairly new to working at the command-line level without a panel/GUI. I may consider Plesk at some stage as a more “responsible” way to manage commercial projects whilst I’m learning as I want to move away from cPanel entirely (who needs such a bloated system right?)

        p.s. It’s safe to say I’m a fan of yours now, as I can’t really fault a single thing you’ve said on this post and I love how you deal with and respond to comments. BINGO! 😉

        Reply
  7. Your method of describing the whole thing in this article is in fact
    fastidious, all can easily know it, Thanks a lot.

    Reply
  8. It’s great to see this page is alive and kicking, with updates and further discussion to boot. I actually have come full circle now, having just commented on another post of yours about commenting, which led me to actually view your posts in chronological order to get a better picture. Turns out that post was more outdated than I’d realised in my need for haste. I’ve actually been somewhat inspired by your content, even when not obsessively perusing the contentful pain(t) of fellow too many websites for a Saturday morning.

    Reply
  9. This professional might advise on retaining or removing particular furniture items. They’ll give insights for improving both the indoor and outdoor appearance to draw to possible visitors. The services include snapping top-notch pictures and crafting enticing narratives to emphasize significant elements. Moreover, they place your own ad on a well-known property platform.

    Reply

Leave a comment