5 Ways to Speed Up Your Website

Dror Arie Head of Engineering @ GlobalDots
6 Min read

Your website is your most crucial digital asset, and your website’s speed and performance are key elements in providing good user experience, which translates into revenue.

Even if you don’t entirely rely on your website to fuel your sales, it’s important to have a well-optimized online presence, to build trust with customers. A website is a key component of any modern sales funnel, regardless of the industry you’re in.

Reduce your AWS costs by over 50%

Discover your Cloud Saving Potential – Answer just 5 simple questions. AppsFlyer, Playtika, Lufthansa, IBM, top leading companies are already using our FinOps services.

Reduce your AWS costs 
by over 50%

And if you rely heavily on your website (for example, if you own an e-commerce shop), your website speed can make or break your business.

A one-second delay in page load time yields:

  • 11% fewer page views
  • 16% decrease in customer satisfaction
  • 7% loss in conversions

If an e-commerce site is making $100,000 per day, a 1 second page delay could potentially cost you $2.5 million in lost sales every year.

Let’s go over the reasons why you should speed up your website, and then we’ll take a look at how you can do it.

ways to speed up your website

Why you should speed up your website

Website visitors tend to care more about page load time than any other things on your website. Of course, design, content and other technical aspects are important as well, but often it’s page load time that has the biggest influence on user experience.

The faster your website is, the happier your visitors will be. Optimizing page load time leads to noticeable improvements in customer experience, conversion rates, and ultimately, your sales revenue.

Here are some facts about page speed:

  • 25% of all page viewers abandon the page if it takes more than 4 seconds to load.
  • 47% of customers expect a web page to load in 2 seconds or less
  • 40% abandon a website that takes more than 3 seconds to load
  • 79% of shoppers who are dissatisfied with website performance are less likely to buy from the same site again
  • 52% of online shoppers state that quick page loading is important to their site loyalty
  • 44% of online shoppers will tell their friends about a bad experience online
  • A one second delay (or 3 seconds of waiting) decreases customer satisfaction by about 16%

The Internet user doesn’t wait. 79% of web-shoppers who are dissatisfied with website performance are less likely to buy from the same site again. Maybe the user used to wait, back in the dial-up age, but this is no longer the case. Patience is not a virtue that you can expect to nurture on the web. The users are trained to accept changes, and they manage change fast. Page load time should be a priority on your marketing strategy lists.

Users will visit the competitor’s site if it is faster by 250 milliseconds. Many dissatisfied online shoppers are immediately likely to develop a negative perception of the company, and choose someone else. It is the competitive advantage of milliseconds that will often steal your share on the market.

Faster site saves you money on the installing, maintaining, upgrading and supporting a server. An implemented content delivery network (CDN) uses servers deployed in multiple data centers. Since buying a server is only a 15% of the price that comes with actually owning the server, moving the maintenance responsibility to the cloud will significantly relieve your budget.

How to speed up your website

There are many ways to optimize the speed and performance of your website, and we’ll mention the most important ones here.

But, before you can start optimizing, you must test your current speed, to see what’s working, and what’s not. To test your website speed, you can use one of speed test tools like Google’s Page Insights.

According to Google, best practice for page load time is three seconds. Unfortunately, according to its recent benchmark report findings, most sites are nowhere near that.

In an analysis of 900,000 mobile ad landing pages spanning 126 countries, Google found that 70% of the pages analyzed took nearly seven seconds for the visual content above the fold to display. Of all the industries they included, none had an average even close to their recommended best practice of three seconds.

5 ways to speed up your website

Image Source

After you’re done with testing, it’s time to optimize your website.

Minimize time to first byte (TTFB)

In addition to the amount of time it takes for your page to fully load, you’ll also want to take a look at the amount of time it takes to start loading.

Time to first byte, or TTFB, is the amount of time a browser has to wait before getting its first byte of data from the server. Google recommends a TTFB of less than 200 ms.

Unlike a lot of the front-end performance factors most site owners focus on, this is a server-side concern.

When a user visits your site, their browser sends an HTTP request to the server that hosts it. There are three steps that need to happen between that initial request and the first byte of data:

  1. DNS lookup
  2. Server processing
  3. Response

In general, most issues with slow TTFB are caused by either network issues, dynamic content creation, web server configuration, and traffic, so you should work on optimizing those.

Optimize images

In today’s world, speed matters. It matters even more than those fancy web images you use to entice your viewer and enhance UX. The problem is, those images happen to be the most common culprits that cause slow page loads for both web and mobile.

  • Use the correct resolution: Avoid saving a larger image if you plan to display it much smaller. For example, if your uploaded image is displayed at 800×600, saving it as 1600×1200 will only take up unnecessary space, and increase your load times.
  • Use the correct format and reduce the file size:
    • PNG: Depending on the type of image displayed, using lossless PNG is much better for web due to the lower file space. In addition, many image editing applications like Adobe Photoshop will allow you to further reduce the quality/file size by using a smaller color palette.
    • JPG: Best for photographs. If you must use JPG, you can directly reduce the quality size from “maximum” to “high” in image editing applications, allowing you to reduce your image size just enough without reducing too much quality from the original file.
    • GIF: Best only for animated images.
  • Flash: Avoid using it. Flash files are always large and can significantly slow down your site. It’s also incompatible for mobile devices.

Reduce DNS lookups

It takes some milliseconds for DNS (Domain Name System) to resolve an IP address for a given hostname or domain name. The browser cannot do anything until the process is fully completed. Ideally, you should use no more than 4 hostnames. This will also allow for a higher degree of parallel downloads.

Minify the code

The best place to get started is with your HTML, CSS, and JavaScript files. These are extremely important files, as they determine your site’s appearance. They also add to the number of requests your site makes every time a user visits it.

You can reduce this number by minifying and combining your files. This reduces the size of each file, as well as the total number of files.

This is especially important if you use a templated website builder. These make it easy to build a website, but they sometimes create messy code that can slow your site considerably.

Minifying a file involves removing unnecessary formatting, whitespace, and code. Since every unnecessary piece of code adds to the size of your page, it’s important that you eliminate extra spaces, line breaks, and indentation. This ensures that your pages are as lean as possible.

Use a CDN

A CDN caches your content on geographically distributed servers—closer to your end-users, resulting in faster delivery. The benefits of using a CDN to serve your content, include:

  • Less bandwidth consumption. Offloading your servers helps decrease hosting costs.
  • Ability to handle more traffic. e.g. Scalability for ‘burst’ events, such as high-traffic launches, or seasonal promotions.
  • Gzip compression, which reduces file sizes ‘on the fly’, to optimize transfer over the Internet and save additionally on bandwidth costs.
  • Enhanced UX, which helps increase conversions and sales.
  • Increase in performance rankings on Google’s SERP.

You can read more about CDN benefits here.

Ending thoughts

These are some of the ways you can speed up your website to ensure better user experience, and increase conversion rates and sales. If you have any questions about how we can help you optimize your website speed and performance, contact us today to help you out with your performance and security needs.

Latest Articles

Cut Big Data Costs by 23%: 7 Key Practices

In this webinar, we reveal a solution that cuts big data costs by 23% and enhances system efficiency - without changing a single line of code. We’ll also explore 7 key practices that will free your engineers to process and analyze data at the pace and scale they need - and ensure they never lose control of the process.

Developer AXE-WEB
15th April, 2024
Project FOCUS: A New Age of FinOps Visibility

It’s easy for managers and team leaders to get caught up in the cultural scrum of FinOps. Hobbling many FinOps projects, however, is a lack of on-the-ground support for the DevOps teams that are having to drive this widespread change – this is how all too many FinOps projects become abandoned on the meeting room […]

Nesh (Steven Puddephatt) Senior Solutions Engineer @ GlobalDots
27th March, 2024
Optimize Your Cloud Spend with a FinOps Maturity Assessment

Achieving FinOps is a tall order: it demands a degree of organizational self-awareness that some companies are constantly battling for. Consider the predicament that many teams find themselves in: while their cloud environments may contain a number of small things that could be optimized, there are no single glaring mistakes that are consuming massive quantities […]

Nesh (Steven Puddephatt) Senior Solutions Engineer @ GlobalDots
27th March, 2024

Unlock Your Cloud Potential

Schedule a call with our experts. Discover new technology and get recommendations to improve your performance.

Unlock Your Cloud Potential