Skip to main content
Krystal Blog

How to optimise an eCommerce website for traffic surges


22 Nov 20193 min read • Web Hosting

Throughout the year during key shopping events such as annual sales, Black Friday and Christmas, your eCommerce shop is likely to become very busy. You’ll no doubt be thinking about your deals, discounts and stock levels, but have you thought about your website’s hosting capabilities? If you're expecting an influx of visitors to your website, you need to review (and possibly increase) your resources to make sure your eCommerce website can handle traffic surges.

It’s also essential to make sure your website is optimised as much as possible. This will prevent people having issues accessing the website during busier periods which could result in loss of sales.

First things To check when optimising your eCommerce website for traffic surges:

  • Are you nearing your CPU or memory limits?
  • Have you enabled caching on your website?
  • Does the website load quickly?
  • Are you using the latest compatible PHP versions?
  • Are your PHP settings optimised?

CPU / Memory Limits

You can view your current CPU/Memory usage from within your cPanel account. If you are nearing the limit on either of these, it’s time to take action. You can optimise the website to increase performance and reduce the CPU and memory usage. This will allow more visitors to browse your eCommerce website simultaneously without compromising performance during high traffic surges.

Enable caching on your website

Caching enables visitors to load your website and navigate pages at lightning speed, this keeps your conversions glowing and in return increases potential sales and profit. The bounce rate (the percentage of people who leave your site after just viewing the homepage) on your eCommerce website will decrease when your website performance increases. 

All our shared hosting plans include LiteSpeed as standard, which is a caching layer we provide across our entire platform.

Loading speed

Customers are more likely to shop on an eCommerce website that loads quickly, against one that doesn’t. Loading speed is one of the most important areas to prepare your eCommerce websites for traffic surges. To do this you can test your load speed by using a service such as GTMetrix which will test the webpage and report back performance. This will point you in the direction of areas you need to improve on. These could be areas such as optimising images, enabling compression and minimising redirects. 

Use the latest compatible PHP version

To optimise your eCommerce website for traffic surges it’s key to use the latest PHP version (v7.3) will give the largest optimisation gains. A site that was using PHP 5.6 will see a huge increase in performance if switched over to PHP7. Most popular CMS are already compatible with PHP7 as are most of the themes and plugins. It’s a good idea to double-check which version of your site is running and then adjust it accordingly. 

Optimise settings

Optimising & running your eCommerce website via a performance test such as GTMetrix will highlight the areas that require optimisation with advice on how to do so. The most common things to look at are PHP memory, caching, compression, image optimisation, minifying CSS/Javascript and reducing HTTP requests. Acting on these suggestions will prevent your website from crashing or grinding to a halt when at its busiest.  

Contact Krystal for any further eCommerce website traffic surge questions

Now that you have an understanding of the eCommerce Website Traffic surges, you’re ready to purchase your hosting package and domain! If you have any further questions, please get in touch with us. Our support team is available 24/7 via both live chat & contact form!

About the author


Krystal Hosting is the largest independent hosting company in the UK. We’re also rated Excellent by TrustPilot and host well in excess of 200,000 websites across our hosting portfolio.

Join our newsletter

No spam. Just the latest news, events, product updates, promotions and more delivered to your inbox.

Read about our privacy policy.