12 Ninja Techniques for WordPress Speed Optimization

Today i am here to present you 12 ninja techniques for wordpress speed optimization. This step by step speed optimization guide will lead you to overcome slow loading problem of your WordPress blog or Website.

WordPress, as a platform, is very well coded. However, some people confuse their WordPress installation by installing low-quality plugins, choosing a bad web host, and filling their site with unneeded elements.

Even if you don’t do any of the above with your site, there is still plenty of room for improvement to speed up your WordPress site. Before we discuss the techniques you can use to optimize your WordPress, let’s first discuss why website speed is important for your website.

12 Ninja Techniques of WordPress Speed Optimization

According to research, the average attention span (attention span) has decreased from 12 seconds in 2000 to 8 seconds in 2017. So what is the relationship between this research and you as a website owner?

You have very little time to grab the visitor’s attention and convince them to stay and explore your website further.

If your website loading time is slow, it is likely that visitors will leave your website before your website finishes loading.

Based on research , if your website loading time takes more than 3 seconds, you may lose almost half of your total visitor count. Additionally, according to a study by Skilled, a 1 second delay to loading your website will reduce your conversion rate by 7%.

You must also already know that website speed is one of the SEO factors that must be optimized. Currently, Google and other search engines have started penalizing websites that have slow loading times by pushing their rankings down on search results pages. This of course will affect your website traffic .

How to Check Your Website Speed?

There are many people who often feel that their website is okay because they don’t feel that their website is slow when opened from their own device. Even though it cannot be used as a standard.

If you frequently visit your own website, modern browsers like Chrome already store your website data in their cache and will automatically retrieve data from that folder to ensure that your website will be served immediately when you press the enter key.

But that’s not necessarily the case for people who are visiting your website for the first time. In fact, it is likely that visitors accessing your website from different regions have had very different experiences when they visited your website.

This is why it is recommended that you check the speed of your website by using Google page speed insights or various tools to check the speed of other websites . With these tools you can check the speed of your website from different locations.

The relatively fast loading time for websites is under 2 seconds. But if you can make it any faster than that, the better it will be for your site.

Which things are slowing down WordPress website?

If you use tools to check the speed of your website, they will usually tell you what things you should improve.

Indeed, they usually use technical languages ​​that maybe not all lay people understand. But understanding these things can help you to improve your website.

The following are things that can generally slow down your site’s loading time:

  • Web Hosting – If your hosting is not configured properly, it can affect the loading time of your website.
  • WordPress Configuration – If your WordPress website doesn’t serve cached pages, it will overload your server and cause your website to slow down or even crash.
  • Page size – What affects the size of a web page the most are the images. So make sure that your image size is not too large.
  • Bad plugins – If you use a poorly coded plugin, it will slow down your website.
  • External scripts – External scripts such as ads, fonts loaders, etc. can also have a significant impact on the performance of your website.

12 Ninja Techniques to optimize speed of WordPress

Before we dive in the Article, i have something to say. If you don’t want to apply these techniques and feeling bored or laza then you could try WP Rocket. Because it is All in one speed optimization plugin for wordpress. Okay, Let’s start!

Here are the ways you can optimize your WordPress site:

⇀ Choose a good hosting

There’s no way you can have a website with high speed if you don’t use quality hosting. following web hosting providers offers cheap hosting with lots of features like cPanel, LiteSpeed ​​Enterprise, Time Machine Backup, Softaculous, Selectable all PHP versions and modules, MySQL, PostgreSQL, Ruby on Rails, Python, GIT, SVN, and Grade A SSL.

Recommended Article: Guide to choose right WordPress Hosting

The following web hostings are best for wordpress hosting –

⇀ Optimization of your website theme

Most people do choose a website theme that can attract the attention of visitors and sometimes without realizing it we choose a website theme from a visual point of view. Even though the theme also affects the loading speed of our website too.

Make sure that you are using a fast theme. A theme that has a lot of features and options can make the process of setting up your layout easier but servers and browsers will go the extra mile. Some WordPress themes come in megabytes. This certainly increases the loading time of your website.

Even if you don’t use some of the features available, they will still slow down your website. If you are comfortable with coding, you can choose a theme with fewer options but can help your website load faster.

⇀ Monitor the plugins you use

First of all, minimize the number of plugins you use. Before you install any plugins, think again whether you really need the plugins. Having lots of plugins will not have a direct effect on the speed of your website, but it also increases the risk of installing them having bad consequences.

Second, make sure that your plugin is optimized for the version of WordPress that you are using. It’s a good idea to do your research before installing a plugin, especially if the plugin has a low rating.

This can be a sign that the plugin is not well developed. This will slow down your website. Don’t forget to also update the plugins you use to ensure that you have the most updated features and security patches.

⇀ Optimization of the widgets you use

We recommend that you use a widget that is easy to load and not heavy. Some widgets need to load JavaScript or CSS while they are rendering. This is common with Facebook, Twitter, and Google+ widgets.

If a widget won’t update frequently, just upload it directly to your server. By not having to rely on external servers, your website’s loading time will increase.

⇀ Optimization of your static content

First of all, compress your static content using gZip. The compressed file will certainly have a smaller size, this will help your website load faster.

To do this, there are two options you can make, namely:

  • If you are using a shared server, the best option is to enable gZip compression directly from cPanel (if your web hosting offers this option).
  • You can also turn on the gZip compression option with a plugin like W3 Total Cache.

Second, to lighten the load on your server, you can also use a CDN. Your static resources, such as images, scripts, and CSS files, will be served directly from the optimized Content Delivery Network from around the world – usually from the server closest to your visitor. One of the most popular CDNs is Cloudflare. If you are using a caching plugin, don’t worry because Cloudflare works with caching.

⇀ Optimizing the images on your website

Image is one of the website elements that is considered ‘weight’. 65% of web content is images. There are several ways you can optimize the images that you upload to your website.

The first thing you should do is find the maximum image dimensions for thumbnails and medium or large images. You will find this option in Settings / Media.

If you upload an image that is 1024px in size and your content area is only 604px, your image will be resized automatically using CSS. The sizes they use to resize the image will take less time to download.

The second thing you can use is to reduce the image. Reducing here means reducing the image size without resizing or reducing image quality. To do this, you can use a tool like reSmush.it or tinypng. There are also several plugins on WordPress that you can use such as Optimus .

The third way you can do is lazy loading. This technique is especially effective for websites that use lots of images. Images will only appear when they appear in the website visitor’s browser, not when the page is loading. This can speed up the loading time of a page but there will still be a delay in serving the image when the page is scrolled down.

The fourth way, choose the best image format for your website. Some image formats are easier to use, while others are smaller. For example, SVGs have a smaller file size, especially if you optimize for the web and compress with gZip.

⇀ Perform caching on your website

Caching is an effective way to optimize a website, especially for high traffic sites. Every time a WordPress page loads, the information will be retrieved from your database and CSS files. Then, this information will be combined with an HTML file that can be loaded in the visitor’s browser. This of course takes time.

Caching can save HTML files so that they are immediately available to other visitors, which certainly helps reduce loading times. For you WordPress users, you can use a plugin to do this. You can read our reviews and tutorials on several caching plugins for WordPress such as W3 Total Cache , WP Super Cache , and WP Fastest Cache .

⇀ Regular WordPress maintenance

Keep your WordPress website in good shape by doing regular maintenance. Some routine maintenance can speed up the loading time of your website, such as:

  • Keep WordPress and your plugins up to date.
  • Delete revisions to old posts
  • Delete spam comments

⇀ Control the number of revisions of saved posts

If you revise a post in WordPress, WordPress will save all the revisions you make to the draft. No matter how much you revise the draft, WordPress will keep it.

When a post is published, you don’t need these revisions anymore, right?

So that you don’t overload your website with these revisions, you can control the number of revisions you want to save. You can use the Revision Control plugin. With this plugin you can control how many revisions you want to save.

⇀ Disable hotlinking & leeching of your content

If you create quality content, there is a chance that someone will steal your content. One of the occurrences that can happen is that other websites serve your image directly from your imagr URL instead of uploading the image from their own server. In this case, they steal your web hosting bandwidth and you don’t get the traffic that shows it.

You can do this via an .htaccess file to block hotlinking images from your WordPress website. Just add this code to your .htaccess file.

disable hotlinking of images with forbidden or custom image option

RewriteEngine on




{HTTP_REFERER}! ^ Http (s)?: // (www .)? Websiteanda.com [NC]


{HTTP_REFERER}! ^ Http (s)?: // (www .)? Google.com [NC]


{HTTP_REFERER}! ^ Http (s)?: // (www .)? Feeds2.feedburner.com/sparringmind [NC]

RewriteRule . (Jpg | jpeg | png | gif) $ – [NC, F, L]

Don’t forget to replace your website.com with your website URL

⇀ Replace PHP with static HTML, if needed

It does look a little advanced, but it can really speed up your website’s loading time. If you want to learn how, you can read our article on how to create static pages in WordPress .

⇀ Optimization of Your Database

After using WordPress for some time, your database will have a lot of information that you probably don’t need anymore. To improve performance, you can optimize your database to get rid of all that unnecessary information.

This can easily be done with the WP-Sweep plugin. It allows you to clean up your WordPress database by removing things like unused posts, revisions, tags, and so on. It will also optimize your database structure with just one click


Slow load times not only make a bad impression of your website on visitors, it also affects your SEO. Therefore it is important for you to ensure that your website works quickly.

Go ahead and try some of these ninja techniques! We hope this article helped you learn some useful tricks to speed up WordPress and improve performance. Be sure to test your site’s speed before and after, and let us know the results in the comments below!

Leave a Comment

Your email address will not be published. Required fields are marked *