- Pricing &
Improving Website Performance
Written by: Will Kruss on 21 February 2017 01:22 PM
Improving your website for optimal loading times is essentially a culmination of three elements.
VPS vs Shared Hosting
A VPS (Virtual Private Server or Virtual Dedicated Server) gives you a big advantage over shared hosting. You can configure it exactly the way you want to ensure optimal performance. Most importantly you are not affected by noisy neighbors (other busy sites on the same server). A VPS however, only provides benefit gains if you have enough resources to run your site and in the case of cPanel, the cPanel services (mail, DNS, web/apache, spam filtering etc.) effectively.
Once you have a VPS you need to ensure that you get the performance gains available by configuring the elements below. It's important to realise that the server configuration itself will generally only account for about 20% of speed gains, site development will account for about 80% of increased performance. As a result we will look at site performance first.
We are going to look specifically at Wordpress websites, the theories are the same for Joomla, Magento and other CMS based sites. Most CMSs perform quite reasonably out-of-the-box, however, once themes are changed and plugins added they can quickly become an unwieldy beast that is slow to load. Unfortunately many developers focus on the attractiveness of your site, and overlook the performance losses by adding many plugins to ease their development burden. It's important when developing to be aware of site speeds at all times.
The first thing we recommend is that you grab a plugin performance profiler. Use this to determine which plugins are slowing your site down. Remove or disable any you absolutely don't need, or replace them with more efficient plugins that do a similar job.
* Wordpress UsageDD: https://wordpress.org/plugins/usagedd/
* Magento Profiler: https://www.atwix.com/magento/finding-bottlenecks/
Like Plugins third-party themes can affect your site greatly. The best way to see if your theme is the issue is to set your theme back to the default theme (yes it will no doubt break your site and make it look terrible), then check the load times. If the load times are improved then the theme itself is contributing to the site slowness. Put back your regular theme, recheck, and if the result is the same then contact your developer, or considering changing themes. Often third-party purchased themes are not well written and will be slow.
If your plugins or theme is loading content from an external location, you may find that your server waits until it's got that data before displaying any content, this relies then on an external service, and often overseas. This will substantially slow down your site and should be avoided at all costs.
Small things can make a big difference with the configuration you set in your .htaccess file. Things to check:
Gzip compression is enabled:
php_flag zlib.output_compression "1"
Your PHP memory limit is high enough:
php_value memory_limit 512M
Once you have your site optimized, you can look at server modifications that will improve performance. The below is specific for cPanel based servers.
I hope this article has helped to give you an insight into what you can do to speed up your website performance.