How to Speed Up Your WordPress Website
A few tips to accelerate your WordPress website page load time – #PROductivity 2
Load time, this shadow killer…
Your website load time is essential. Many years ago, various expert reports indicated the clear link between website load time and the number of visitors abandoning your website. Consequently, it is absolutely crucial to keep page load below 3 seconds in order to secure an optimal retention of your readers or users on-site. There are two possible alternatives you can use: work on your website or work on your web hosting provider.
I calculated the total time that humans have waited for web pages to load. It cancels out all the productivity gains of the information age. Sometimes I think the web is a big blog to keep people like me away from normal society.
It’s probably less expensive, but it will definitely keep you busy. Here are a few things that you can improve:
Images often take a lot of space, an awful amount of visual space. You should think of ways to optimize their compression in order to make your website load faster.
There are multiple tools to do just that. On Mac, I recommend you use the excellent Image Optim which is also available as a web service. For Windows users, File Optimizer is just as interesting as it does not only deal with image optimization.
In case you wish to optimize your images directly on WordPress, you’ve got an easier option: image optimization plugins, quite a handful of them, but ShortPixel looks pretty appealing.
Think Async to Speed up Your Loading Time
Synchronous and asynchronous, what’s up with that? Suppose your web load time is similar to a list of packs that the mailman has to deliver. If you have to wait for the delivery of package (A) in order to expect the delivery of package (B), and so on up to (Z) which is what synchronous loading looks like, it will take longer than having all packages delivered at the same time by multiple mailmen (asynchronous loading).
Beware: in practice, all changes cannot be operated separately, but it would be a great step ahead to be able to separate some of them.
Use Cache Solutions
Many users know how to clear their browser cache, but they don’t really know why they need to do that. Cache is neither a history nor a surveillance tool prying on your private life. The fact that browsers allow people to clear their cache of all that data at the same time might be confusing.
Thanks to cache memory, search results are readily available to users. To explain it metaphorically and to put it simply, suppose you’re ordering a drink. The waiter who comes to pick up your order already brings a customized selection of your favorite drinks for you to choose from. This means that you do not have to wait for the waiter to fetch your drinks: you have just saved yourself a lot of time!
Cache memory may exist on servers, but also on the computer who uses it. There are also other types of cache, but you will not be able to control them such as the cache of your Internet service provider: it will not search for Google’s logo each and every time; it will be stored in its cache.
There are two major WordPress plugins which dominate the cache solutions thanks to their excellent service and free available versions: W3 total cache and WP Super Cache. It would be difficult to say which one is best, so why not see it for yourself by using both on your website? Alternatively, if you are using LiteSpeed server technology, the only option is to install the LiteSpeed Cache plugin.
Keep It Simple!
You have probably heard about the KISS principle designed by the US Navy which is the acronym for ‘keep it simple and stupid’. Restrict the number of modules (also known as plugins) as these often include “hooks” or anchor points which are in use each time there is a load in progress (e.g. page, website or other) in order to activate the module, and let it do its job. These are essential to website overall functioning, but it overloads your page: suppose you have 50 active modules or 12; impact will be extremely different. The advantage on WordPress is that you may deactivate a module without removing it, so you should definitely use this functionality!
Don’t add too many items or audiovisual components per page.
It’s highly unlikely you will get to use all these tools at the same time; especially if your website boasts a responsive design, multilingual features and crisp layout! Remember, add one component at a time and see how your website loads. If certain things don’t work, use something else especially since some themes or plugins cannot function in combination with all these optimization techniques.
Our next post deals with optimizing your web hosting service.
Do you want to read more about speed optimization for WP? Read the excellent post from 10 web.io.