WordPress is one of the best platforms to develop your website however some people complain that overtime, their website gets slow.
How to increase the speed of your website?
Well, read on!
1. Ideal Loading Time
We’ll start with the ideal time. An ideal website is the one which loads under 2 seconds. If a website fails to load in under 5 seconds, a person may not visit it. To improve your speed efficiency, you need to pay attention to following factors.
NOTE: It is possible that different people across the world may experience different loading time, when they are accessing your website. To know the speed of your website, use a free online tool “Pingdom” which allows you to measure speed from different locations of the world.
2. Multimedia Slows Down Your Website
In the beginning, you might feel that your website is very fast. With the addition of multimedia, such as large background videos and HD pictures, you might feel that your website is getting slow.
You need to compress both images and videos so that they take less space and don’t feel heavy on your website’s loading time.
Don’t try to upload videos on WordPress. Not only this consumes data but also decreases your website’s space. Instead, give a link to YouTube, Dailymotion and Vimeo.
The format of an image also matters. A good thumb rule suggests that .jpg and .jpeg files are good for images while .png format is efficient for logo files.
3. Do You Need (Every) Plugin?
Yes, everyone does. But ask yourself! Do you need all plugins? Most people try to download anything that sounds fancy. This results in major lag of their website.
Analyze your plugins. Go for a utilitarian approach. See which are needed by you and remove the rest.
4. Limit Your File Requests (Involves Coding)
This is common sense – if less people will access your website, more speed will be given to them. (In fact, a popular web hosting company A2 also utilizes this strategy)
The trick here is to make the clients ask for separate requests. A good example is that, let’s say there is a website which has two fonts. The presence of both fonts is necessary because their combination enhances the beauty of the website.
You notice that if you select both of them separately, two distinct HTTP requests are sent. This is the real deal.
Make your audience “travel” more on your website so that a pattern of distinct requests can be observed. While congestion may increase efficiency, it kills speed.
5. Use CDN
If your website’s server is located in USA, a person inside USA will be able to view your website at a faster rate than someone visiting your website from Pakistan.
CDN stands for ‘content delivery network’. It is a network made up of several servers, existing all over the world. Each server will host static files to make up your website.
When any potential visitor will visit the website, the server (which is closest to him in terms of geographical location) will show him the static files.