How to fix a slow-loading website
Improving the speed of your website has become very important for several reasons. The most outstanding we would say is its impact on user experience and the increasing weight Google gives to user experience. That explains why website owners and managers are investing in ways that can improves their website speed. Prominent among them is its impact on conversion, website bounce rate and ranking in the search engine result pages. One thing we cannot deny is that about any website is that loading speed matters. When you have a website that loads slowly, it leads to a poor user experience and negatively affect search engine rankings.
Why Do Page Speed Matter to Your Website
Why you should care
Page speed is important to users because, well, faster pages are more efficient. Per a recent Kissmetrics infographic, if a page takes longer than 3 seconds to load, over a quarter of users will click away. Mobile users expect speed, too. In the same survey, 73% of users reported visiting a website that loaded too slow. Page speed also affects conversion rate. For example, Walmart noted that with every second of increased page speed, they saw a two percent increase in conversion.
But perhaps less intuitively, page speed is also important for search engine optimization (SEO). In 2010, Google announced that page speed would be included as one of the ranking factors for their search index. In 2017, Google announced they will give page speed even more consideration, incorporating mobile site speed to rank sites on its “mobile-first” pages, or pages that individualize rankings for mobile sites. Google is also experimenting with an Accelerated Mobile Pages Project (AMP) – a project aiming to make pages load more quickly on mobile devices.
Luckily for you, improving your site speed doesn’t have to take a lot of additional work. Plus, the benefits you’ll receive from improving your site’s loading speed are well worth the time spent. Below we look at five different ways you can improve the speed of your website.
Basic Steps That Improves Your Page Speed
1. Enable Caching
Whenever you visit a website, certain elements are stored in a cache, so the next time you visit the site it can easily access those parts and load much faster. With caching, instead of your browser having to download every single resource, it only has to download a few of them.
By turning on caching you can considerably improve your site’s loading for return visitors. If you’re using a CMS like WordPress you can install a plugin like W3 Total Cache or W3 Super Cache, either of which will let you enable sitewide caching, or caching of certain site elements.
If you aren’t using a CMS, then there are additional steps you’ll need to take in order to leverage browser caching.
2. Remove Resource-Hogging Plugins and Add-ons
If your site is currently running too many plugins you’re not only slowing down the speed of your site, but you’re making it more susceptible to security risks. You might require a handful of plugins for your site to function the way you like, but chances are there are some you can live without, especially if they’re resource hogs.
The best way to do this is to get a baseline test of your loading speed via a tool like GTMetrix or Google Pagespeed Insights. Then, go down your plugin list and deactivate one plugin at a time. Then, run the speed test with the plugin deactivated.
This might be time-consuming, but it will help you find the plugins that are harming your site’s loading speed the most. At that point, you can search for a less resource-heavy plugin or find another workaround.
3. Optimize and Reduce the Size of Your Images
If your site has tons of images that aren’t optimized, then this will negatively impact your site’s loading speed. By having oversized images you’ll be requiring the browser to load larger files. There are a few different ways you can optimize your images to load faster.
Ensure that your images are unnecessarily large. For example, if the width of your blog page is 900px, then make sure that’s how wide your images are.
If you’re using a CMS like WordPress, you can install a plugin like WPSmush that will automatically reduce the filesize of the images.
Before you upload images, first run them through a tool called Tiny PNG to reduce the file size of your image, without sacrificing the quality.
4. Minimize Your Code
Sometimes your website’s code can get a little bit messy. When this happens your site will take much longer to load. When you’re making a lot of customizations, using a CMS, or even using a website builder to create your site there will be unnecessary line breaks, spaces, and other elements that don’t need to be there.
If you’re using WordPress, then a plugin like Better WordPress Minify will minimize your code. Or, if you’re using one of the caching plugins highlighted above, then there should also be a minify option.
If you aren’t using a CMS, you can minify your code by using the Pagespeed Insights Chrome Extension. This extension will create a minimized version of your code, so you can see which version is faster.
5. Use a CDN
The loading speed of your site is affected by the proximity of the user to the server where your site’s files are stored. The farther away they are from this physical location, the slower your site will load. Using a CDN can solve this problem.
A CDN distributes your site’s files across a network of global servers, that way your users can access your site via the server that’s closest to them.
Some solid options for a CDN are CloudFlare and KeyCDN. In some cases, your existing web host might even have the option to utilize a CDN for your site.
Hopefully, the tips above will help to speed up your website and improve your overall user experience.
Any tips we didn’t mention above that you’ve used to help speed up your site? Share your own recommendations in the comments below.