Nobody likes waiting on a website to load. If you have a slow site, your site is probably taking a hit in search engine rankings and overall site traffic. Don’t take it from us, as 47% of consumers expect a web page to load in two seconds or less. Another startling statistic is that 40% of people abandon a website that takes more than three seconds to load.
Having a fast site today is a necessity. Listed below are some ways to increase your site’s performance from a digital marketing agency’s perspective.
#1 Compress Images
One of the biggest things you can do to improve site speed is to optimize your images. Images are extremely important to websites and the overall site performance. They not only bring life to your site but also increase user engagement.
However, if your site is full of giant, unoptimized images, they can negatively impact your site’s performance. Compressing images is a process that involves decreasing an image’s file size using a plugin or some other software. One of the best WordPress plugins for image optimization is Smush. This plugin will automatically compress your images when you upload them to the media library. You can also use this plugin to compress all of the images that are already in your media library. If you don’t want to use a plugin, you can use TinyJPG. All you need to do here is drop your images in the “Drop your.png or.jpg files here!” prompt and leave the compression to the website.
One more thing to consider is image file types. The two main types you will be using are PNGs and JPEGs.
- PNG – These are usually larger in file size, but are higher quality. These should be primarily used for graphics.
- JPEG – These are smaller in file size when compared with PNGs. JPEGs should be used for photographs.
Choosing the correct format for your images can also have an impact on site performance.
#2 Combine CSS and JS
#3 Do a Plugin Audit
Plugins are excellent tools to extend functionality or add new features to your WordPress site. However, a lot of plugins will load images, JS files, and CSS files. Each one of these files is another HTTP request, and the more HTTP requests that you have, the slower your site’s loading speed will be.
Review all of your plugins. In all likelihood, there will be some plugins that you don’t necessarily need. There will also be some plugins that have been installed that you just forgot to delete.
#4 Use a Caching Plugin
Every time you visit a website, you make a request to a server. This server then delivers the webpage to your browser with all of the files, images, and elements required to build that page. In all likelihood, your site is going to be serving the same content to users every month. Installing a caching plugin will tell the server to remember and copy the same content that it’s been serving. By delivering all of these files and assets from the cache, your website performance and load speed will prove to be much faster.
#5 Update PHP
PHP is a scripting language that is used for website development services. The WordPress core, all of your plugins, and the theme you use are all built with PHP. It has been shown that PHP 7 vastly outperforms PHP 5. Overall, PHP 7 is faster, runs with less memory consumption, and can serve more requests per second. All of this will lead to a significant performance boost in website speed.
To check what version of PHP your site is using, you will need to contact your hosting provider. If it is below PHP 7, you can ask your hosting provider to upgrade the PHP version. You will want to use the