What have we covered?
In the previous article, I explained some of the major factors affecting the website performance like page requests, page size, host response time and others. These factors not only drive the crowd away from your website but also advice search engines to neglect your site. If you plan to rank at the top of search engines, there are two main factors:
- Website Content
- Website performance
Although they are two different things, they are tightly coupled. In this article, we will solve various factors related to page requests which might be degrading the performance of your website. Let me mention that this is going to be a lengthy process. Hence, I’ll split this article into 2 parts. You can find the second article here
How to analyse the flaws in the website?
In the previous article, I listed 2 major sites which can be used to analyse what is possibly wrong with your website. In this section, we’ll discuss each possible factor in brief and continue resolving each of them as we go forward.
The screenshot below shows a not-so-good website’s report taken from Pingdom. Let’s discuss the listed issues below & understand how each one could be solved.
Note: You will require the WP File Manager plugin to perform some of these steps like replacing resources on WordPress. It involves editing of internal files. Hence, it is recommended to take backup of your work
Issues & Solutions
- Paralleling scripts: As the word says, parallelIze your script download to utilize the response delay for one script. This means you need to try to load the scripts more asynchronously rather than blocking the loading for a script to arrive. Paralleling is also a way to improve script load time
- Removing query strings from resources: This is a common problem in wordpress where the scripts are managed version wise. This creates unnecessary searches for the respective versions of script each time. Hence, unless important, remove the query strings. This task is extremely simple in WordPress. All you need to do is download this plugin.This plugin is quite straightforward. Just install, activate and it does the work. Remember, this plugin does the work on scripts that are called using wp_enqueue_script() API. Hence, if you have plugins or code calling the script in a different way, those strings won’t be affected.
- Minimize DNS lookups: As explained in point 1 & 2, DNS lookups add to the time taken for website to load. When you use plugins that render content on the fly using external resources like the Chat plugin or notification plugins used on this website, they cause additional DNS requests.Hence, it is always advisable to host maximum things locally.
To be discussed further
The above factors are some of the simplest factors which are quite straightforward and do not involve more risk. Do remember to check your website score after you have successfully implemented most of these. In the next article, we will focus on some major factors which affect the website size and performance considerably.