How to speed up your WordPress Website? Learn with Harish Sharma.net

Here we are going to tell you that for how many ways you can speed up your WordPress website.

Initially, we recommended checking your website speed with the following link of Pingdom.

https://tools.pingdom.com/

how to speed up your WordPress website?

This tool will show you the overall performance of your website with a Performance Grade for your website.

The speed of a WordPress website obliviously depends on its load time and a good website average speed should be 2 seconds.

There are many causes which are responsible for increasing the load time of your websites like Hosting, WP Configuration, Page Size, More Plugins and External Scripts.

Following we are mentioning the steps for which you can speed up your WordPress website.

Use a WordPress Cache Plugin:

 

In an, every visit of a new visitor, WordPress retrieve some data from MySQL Database. By using the WordPress Cache plugin, it retrieves the data from the database and put all data in the form of HTML so that the same HTML content server on a next visit of the visitor.

We would recommend using WP Super Cache Plugin. It is easy to configure for speeding up your WordPress website.

In the case of managed WordPress Hosting, there is no need of use this plugin because this hosting already takes care of this.

Optimize your images

 

Images are the most important part in website perspective. Therefore we would recommend using only these two basic images format of an image.

  • PNG
  • JPEG

We should know the difference between both of these.

The image file with PNG extensions/type is the uncompressed format. It means these files are served with higher quality. Whereas on another side JPEG images are compressed format for an image.

As per above logic PNG images are heavy in size. So we would recommend using PNG format images only when if you required most.

We would also recommend using any photo editing software to optimized your images without uploading them to the server.

 

Update Your WordPress Regularly:

 

WordPress admin area automatically notifies you for the update. You should keep your WordPress, Plugins and Themes updates by the following path.

Dashboard>>Updates

Use an Excerpts rather than full text:

 

This is also the most important way to speed up your WordPress website. Most people show the full text of their posts on home page. Rather than this, you should use excerpts with reading more link.

By using the following path in admin area you can perform this task:

Setting>>Reading

 

 Paginate your comments in WordPress:

A long list of comments is also the responsible for increase the load time of post page in WordPress.

Settings>>Discussion

 

Use a CDN (Content Delivery Network)

 

The geographical conditions also can be the effect of your WordPress website speed. Let assume if your website on a Hosting Provider of United States. It will be easy to browse your website in America compare to in India.

Using a CDN, it can help you to load faster your website in different geographical countries.

CDN (Content Delivery Network) is a network of servers which contains the static data of your website. When any user visits your website then the static files loads initially by the nearest server of the visitor.

You can use MaxCDN for your WordPress website.

 

Do not upload your videos directly on WordPress Hosting Server

 

You can upload your videos on your WordPress website and it will show on your website by HTML5 video player. But we do not recommend this to do. Because it will increase your bandwidth usage and be difficult to make a backup.

Instead of this, you can host your videos on YouTube, Vimeo etc.

It is very easy to embed the YouTube videos on your WordPress website.

 

Use a faster Gallery and Slider plugin

 

A slider and a Gallery surely increase the impression of your website’s frontend but it also increases your page load timings as well.

Generally, people use Revolution Slider, which is very heavy compared to others. These are the most popular plugins for the slider in WordPress.

At the another hand the most popular plugins for the gallery are:

You can use the Soliloquy plugin for slider and Envira for Gallery.

Reduce External HTTP Request

There are a lot of plugins which loads their resources from another website. These resources can be images, CSS and javascript files etc.  If you are using a lot of plugins in your WordPress website. It may cause of slow down to your WordPress website.

You can disable those plugin or merge that into a single file.

Reduce Database Requests

 

Here this is a little bit technical, most of the time your WordPress website or your theme generate too many requests for the database.

See this example

 

 

In above code example, “ <?php” starts a new databse call.

Instead of this you can and if you are using a child theme, you can directly put the specific information over to it.

 

Optimize your WordPress database

 

You should keep your database regularly to erase the all unnecessary information from it.

To do this task you can use the WP-Sweep plugin. This plugin cleans your database and deletes all unnecessary information like post revision, unused tags etc.

Limit post revision

The post revision also takes a place into your database and you can set you maximum post revisions by adding this following code into your  “ wp-config.php” file.

define( ‘WP_POST_REVISIONS’, 4 );

Prevent to use your resources for another website

 

In most of the cases, some website developers or owners use your website resources lie images, CSS file and javascript file directly to your web server instead of uploading these files on their server.  It may increase the bandwidth of your website.

You can add the following code into your .htaccess file to blocking the hotlinks.

RewriteEngine onRewriteCond %{HTTP_REFERER} !^$RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?harishsharma.net [NC]RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]

 

So these are the ways, which you can speed up your WordPress website speed.