Improving your site’s load time by just a tenth of a second improves page views by 7-8% and can improve ecommerce spend by 10%.
So, where do you start?
The key is to reduce the initial server response time. The server is the computer that sends web pages, images, and other resources to the user’s device. If that’s slow, any other work you do to improve the site will have little to no benefit.
With that in mind, let’s cover ten actionable tips to make sure you’re serving your site to users as soon as they ask for it.
Whenever someone accesses your website through a browser, that browser will send a “request” to your website’s server. It’s asking the server to retrieve the files it needs—such as HTML, CSS, JavaScript, and font files—in order to render the webpage for the user.
Server response time, then, is the time it takes for your server to respond to the request, whether it’s being asked to load a web page or process a database query. It’s also known as “time to first byte” or TTFB, which measures in milliseconds how long it takes for the first file to load from the server.
The faster the response, the quicker the page will load. And as we all know, page speed can make the difference between a potential customer engaging with your site or navigating away from it.
One study found that sites with a load time of one second had a conversion rate five times higher than sites that took ten seconds to load.
Improving your initial server response time has other benefits, like:
Server performance is measured in milliseconds with Time to First Byte (TTFB). When you use Google’s PageSpeed Insights or a similar tool to measure the speed of your website, it will give you the TTFB as well as other user experience metrics.
According to Google:
There are many factors that negatively affect server response time. For example, unreliable hosting, network congestion, and poor internet connectivity can all cause server response latency or even server crashes.
Here are a few more examples:
You can calculate server performance with tools such as Google PageSpeed Insights, GTMetrix, or WebPageTest. Once you’re measuring performance, you can implement any one of these tips to reduce initial server response time.
As we mentioned, server response time has a huge effect on your website’s UX, which in turn has an impact on traffic and revenue.
So, apart from lab metrics like TTFB, it’s important to consider your key business metrics like conversions and sales numbers, as well as performance metrics like:
To make sure your server response time goals are also aligning with your overall business aims, start by combining data from multiple sources. This should include sources such as your CRM software, Google Analytics, and Google PageSpeed insights.
By aligning this data, you can begin to see the connections between your revenue, customer experience, and site performance and how they impact your business goals–helping you to identify and focus on the key server response metrics for your business.
A good example of this would be the combined goal of improving your server response time to increase subscriptions to your SaaS product. You would look at your customer journey, identify the pages that have high bounce rates or poor performance, and look at what metrics need to be improved.
In doing so, you’ll begin to boost your SERP ranking, reduce bounce rate, and create a better user experience. Contributing to your overall goal of increasing subscriptions.
If your initial server response time is too high, there’s likely to be a simple explanation—poor performance is usually caused by a common problem. Maybe you haven’t compressed the images and videos on your site.
Or, possibly, you’re not using the latest version of PHP scripting language. You might even have too many JavaScript files that generate excessive HTTP requests.
If you’re using PageSpeed Insights to measure performance, many of these common issues are highlighted further down in the report.
Server hardware is made up of several components, all of which need to work efficiently for reliable performance. If you have a good hosting provider, they should give you powerful hardware architecture and robust infrastructure, whereas those using legacy hardware will generate slower response times.
You should also optimize your CPU (Central Processing Unit), RAM (Random Access Memory), and disk space.
Some approaches to try here include:
Faster CPU and increased RAM will be able to handle more requests and reduce response time. Hard disk drives (HDD) are gradually being replaced by Solid State Drives (SSD), which are much faster in terms of read and write speeds.
Third-party scripts are a must for a functional, modern website. They are also a common culprit for website bloating and potential issues with initial loading times.
Revisit your tech stack and evaluate which functionalities are essential and which are no longer relevant to the goals of your website. For example, ask yourself:
Don’t be afraid to call in third-party expertise. Hired consultants can bring ideas to the table you might not have considered.
This process doesn’t just apply to your website; the same goes for the rest of your business software stack. Whether it’s task management software or a meeting booking app, choose reliable vendors and plugins designed for long-term high performance.
Remember to review and update regularly across the board. Find better alternatives for third-party solutions that harm your loading times, and completely remove the solutions that don't serve their purpose any longer.
Caching means that the server stores copies of each web page in its virtual memory or on the local hard drive. That way, the visitor’s browser doesn’t have to request files or load content on every visit.
Deploying caching is especially useful if your website uses a content management system (CMS) with dynamically generated pages. Dynamic page delivery ramps up response time because the server has to access the database every time the page loads. You can use tools like Varnish to cache pages in virtual memory to address this issue.
You can also use a “Keep-Alive” setting in Apache in which the server maintains a connection with the browser for a set period of time (the “timeout”) while the user is browsing, so it doesn’t have to open so many new connections.
Be careful how you implement this, though; if you set the timeout counter too high, the server connection will be idle for too long while it waits for new instructions from the browser, leading to a surge in RAM usage overall and a higher risk of the server crashing. One second is generally the optimal choice for the timeout setting.
As an alternative, you could try “prefetching” technology. This uses browsing behavior to predict which resources a user will request next and preload them into the cache.
Over time, an accumulation of data means the server responds less quickly to queries.
Servers use database tables to store content, including page information and user-generated content. The data is frequently written and deleted, allowing gaps or “fragments” to develop. To improve retrieval times, you can remove or merge these gaps in a process called “defragmentation”.
Opinions vary about whether you should defragment servers or not.
While it used to be standard practice, many administrators now find that the speed gains aren’t generally worth the hit to performance that happens while the process is running. What’s more, it’s not recommended to defragment modern SSDs, since doing so can cause more problems than it solves.
Another option is to implement a Content Delivery Network (CDN), which uses a distributed set of servers to deliver website files from the server geographically closest to each user, reducing response time.
Increased web traffic is great for your business, but it gives your server more work to do.
It’s important to scale the server environment as demand grows so it can handle more users simultaneously—without impairing response time or causing a crash.
There are two ways of scaling your servers: horizontally and vertically. Horizontal scaling means you add more servers, while vertical scaling involves upgrading your existing server with better hardware.
You could also adjust the server settings. For example, you can add a load-balancing component that distributes network traffic across multiple servers so that no single server in the cluster becomes overloaded.
You’ve probably experienced it yourself: when a site takes a long time to render, you’re most often waiting for the images to show up.
It’s especially bad when you’re shopping online and you’re only waiting to see the product up close. This is why it’s so important to handle images and videos correctly on your own site.
In fact, statistics show that images make up the biggest chunk of HTTP requests made by websites in 2021.
Lossless compression methods are a no-brainer: they reduce the image’s file size without making a noticeable difference to the image’s quality.
Many sites like YouTube or Amazon will load a low-quality version of the content first, then bring in the full-resolution version when it’s ready. If there’s a poor connection between the server and the user, this gives them something to look at while they’re browsing.
Whether it's a smaller website or a dynamic ecommerce site, you’re going to want to upload high-quality photos and optimize them in bulk to save time and resources. A good CDN will compress images and videos for you and then serve the appropriate version to users. Optimization plugins like NitroPack will further apply advanced optimizations like Adaptive Image Sizing, Lazy Loading, and WebP conversion.
Web fonts are typefaces that come in files like Web Open Font Format (WOFF). These fonts are designed for digital screens, and the file types are designed for good performance over the web.
Despite that, they can still slow down server response time if they’re not used properly. Some tips for addressing this include:
As of 2023, you can also leverage an innovative feature like Font Subsetting, which helps render only the characters a page is actually using, dramatically decreasing the font file size and the time it takes for the web page to load.
Because server response time is so integral to the success of your website, it’s essential that you monitor server performance continuously. Establish set times for running checks, and create a checklist that covers all bases.
This should include:
When you find an issue, address it immediately. You should complete all work within a few days so that your server’s health remains in top condition at all times. Additionally, you can consider setting up a full-fledged web performance budget that addresses all essential performance metrics of your business.
WordPress sites are easy to build from the ground up because it’s so convenient to add more and more plugins and extra features.
This is a blessing and a curse.
For one, you’re depending on the developers of those plugins to keep their software up-to-date, performant, and secure. And with more of those resources come more HTTP requests.
How can you enjoy the benefits of WordPress while keeping your server response time fast?
It’s vital that you regularly update plugins, themes, and the WordPress core, to make sure your site is as responsive as possible. WordPress software is written in PHP (an open-source programming language), and you need to keep this updated too.
You can check for available updates by opening your WordPress dashboard and navigating to the Updates page. There may even be a new version of WordPress for you to install.
In shared hosting, resources such as RAM and CPU are divided among multiple websites. That means your site has only a limited amount of RAM and CPU available, which can affect loading and response times. Your server might run slowly because of something that happens on someone else’s website.
Although managed hosting can be a little more expensive, it’s worth doing if you want to improve performance. With managed WordPress hosting, you’ll also benefit from automatic updates and backups.
Make sure you choose a provider that offers:
If you’re using dynamic content in WordPress, the content has to be fetched from a database. As we mentioned earlier, this can cause server lag—so it’s best to use caching and a CDN. This will improve your LCP (Largest Contentful Paint) score, which is the time it takes for the primary content element to become visible to the user.
Dynamic content can also cause issues with CLS (Cumulative Layout Shift) when page elements shift around annoyingly while someone’s browsing. To improve visual stability, make sure you allocate appropriate space for dynamic content such as ads or iframes. This means it can’t push other elements around as it loads.
Generally, it's best to exclude pages with dynamic content from optimization to reduce the risk of bad user experience. Always consider how important the dynamic content is to the page and weigh out the pros and cons with the end user in mind.
Always choose optimized plugins that won’t impact the server response time, and avoid bloating by deactivating and deleting unused plugins. WordPress themes can contain JavaScript and PHP codes, which also need to be optimized. It’s best to check the theme creator’s reputation before going ahead with installation.
WordPress plugins and themes may introduce elements that obstruct rendering, which causes a delay in displaying core content.
Again, you can use a CDN to mitigate this, as well as selecting the right image format and using lossy or lossless compression. But in general, it’s better to be very selective about which plugins you use in the first place.
NitroPack offers a complete site speed optimization service with everything you need to reduce server response times. It has out-of-the-box features, including caching, image optimization, and a global CDN, and automatically optimizes your website with no coding or tech skills required.
The advanced caching mechanism includes smart cache invalidation and automatic cache warmup, as well as device and cookie-aware caching and browser and session-aware caching. NitroPack also carries out HTML, CSS, and JS minification and compression, and DNS prefetching.
NitroPack comes with a full image optimization stack that encompasses lossy and lossless image compression and advanced lazy loading (including background images defined in the CSS). Pre-emptive image sizing, WebP conversion, and adaptive image sizing will also improve server response time.
A good server response time is essential for a positive user experience on your website. It’s important to check performance regularly and identify areas for improvement. If you’re experiencing above-average server response times, follow the tips in this post.
To recap, these include:
You should soon see your server response times start to fall, leading to lower bounce rates and higher SERP rankings.
Lora has 7+ years of experience developing in-depth, specialized content for SaaS companies in the CEE region. She has sourced and collaborated with subject-matter experts on site speed optimization for WordPress, Core Web Vitals, and the future of web performance. "If you can't explain it to a 7-year-old, you've not researched it well enough" is Lora's guiding principle when publishing professional insight for complex technical topics.