GuideWordPress Tutorials

WordPress Optimization, What are You Missing?

Are you trying to Optimize your WordPress site?

Why not… Who likes the slow website?

Users abandon it, Googe penalize it in rankings, which Makes You annoying and your earnings suffer.

There are few basic things which many WordPress Optimization or speed up guides suggest such as Good hosting, Good Theme, optimize images etc…

Problem is all those guides for fast website covers very basic and don’t really go in-depth. Where people struggle most or it’s just too complex for beginners to even understand.

Every website out there is unique and use a different kind of tools. So, one solution doesn’t fit every single site except basics of WordPress optimization. (Read: how to speed up website)

Before you begin WordPress Optimization

You need to understand the problem first.

I see many folks especially beginners just focusing too much on speed scores instead of loading time. From speed tests web apps such as GTMetrix or Pingdom.

Yes, the good score is a good thing I guess, but just focusing too much isn’t really going to help anyone if it still takes half a century to load. Sometimes it’s just not possible to fix some issues, but that’s okay.

Good page score doesn’t mean your site is fast.

So, how you can make sure that your site always runs smoothly.

Load Plugins Only on pages they suppose to

If you are using WordPress for a personal blog with a decent premium theme and hosting it’s not very complicated to speed up your site. ( Read WordPress speed up Basics)

But

Things start going out of control when your site grows and you do nothing to keep up with growth and higher demands of traffic on your website.

Instead, you do the opposite.

You start installing new plugins to make things easy for yourself which ends up cluttering your site on the front end without you even knowing which literally hammer your site performance.

Ok, How to fix this issue…

A short answer is to try to avoid plugins which slow down your site and find the alternative.

You can also control which plugin file should load on what page with this amazing plugin called “Asset Cleanup“. It’s free

There is also a premium option Gonzales cost $25/Site. if you don’t mind spending some money for the sake of your business.

How This Works

When you install any plugins it adds up some files on the front end even though the page doesn’t need any of those files.

For example, if you have “Contact form 7” plugin installed on your website the only page it should loads its asset (such as JavaScript files, Jquery and CSS) on a page where you are using the form in most cases is contact us page(unless you are using sidebar widget).

Unfortunately, it loads all those files pretty much on every single page and post of your site.

And you seriously need to control it.

With the help of plugins mentioned above you can edit each and every page of your site and loads such assets only where it belongs to.

Fonts from third parties

Google and Typekit fonts really revolutionize the web and help to make the Internet look more modern. Unfortunately, it comes at a cost of speed if not used properly.

What do I mean is,

Typical WordPress themes these days loads fonts from google which can’t be cached because they are not hosted on your server and for some reason, Google doesn’t allow to cache fonts.

Additionally, it takes some time when your server has to send the request to google server for fonts every single time page loads, which can’t be faster than your own server where it can be cached

Read: How to host fonts locally to leverage browser caching

3rd party Scripts

We all use 3rd party scripts such as Google Analytics, which are not hosted on our server.

When those scripts are not hosted on our server that also means we have no damn control on them. One of the best solutions is hosting those scripts on your server. where you can have control over the optimization of the code and setup cron job to check any possible change

One of the best solutions is hosting those scripts on your server, where you can have full control over the optimization of the code and setup than cron job to check any possible change in the source code.

For google analytics, there is a beautiful plugin “CAOS” which does all you need to host analytics locally. in simple and easy steps.

Just make sure you remove or uninstall any other plugin you already installed.

 

Page Builders- Yes, they do slow down your site

Before you get offended let me tell you I am not against using page builders. Even I use them for some projects where necessary.

But using page builder literally for every page is not a good Idea.

I do Agree

That everyone wants their website to look good, professional and unique than anyone else. But using page builder doesn’t make you professional designer overnight.

The reason page builders can slow down your site is, When someone visits your website, page builder has to retrieve all the content you’ve created and render it on the browser.

Since most of the “drag and drop” plugins using shortcodes such as Visual Composer, it needs to parse them every time a page is loaded.

The problem is that shortcode parsing is a very processor-intensive process, and rendering large pages can take a relatively long time. Having to go through hundreds of shortcode tags takes processor time and can impose a big load on the server.

Things go worse if you are using a shared server with some cheap hosting and no speed test tool will tell you this problem.

So, How you can make sure page builders not ruining your website performance

My Arrogant answer is, Avoid them as much as you can.

But here’s the Good thing: not every page builders use shortcodes.

Beaver Builders is one of the most popular page builders these days and one of the main reason for that is performance and no shortcodes on all pages. Even if you disable the plugin in future after done with your design your page will work the way you build it instead of showing shortcodes on the front end for obvious reasons.

Some sites might be better off using a simpler alternative, such pre-designed WordPress theme, for example, the one I am using right now. “Grid Love”

Remember, I mentioned how you can disable/enable any plugin on any page to optimize WordPress site, same applies to PageBuiler.

You can make your home page using any page builder and disable all other assets to load on other pages and page cache can take care of that slight dip in performance if any.

Server location

It doesn’t how good your hosting is or what type of cache plugin you are choosing location always matters.

If you’ve ever made a long-distance call, you know that it takes longer to make the connection. That’s because the information has to physically travel to get there. The data goes through cables and broadcast over satellites.

A similar thing happens when you click on a website. When you click on a website, you send a message to the server. You ask it to load.

Let’s say your server is based in America. When a Japanese visitor clicks on your website, the information has to travel all the way across the Pacific ocean. It has to request access to the server. Then, it has to travel all the way back across the ocean to load it on their screen.

The best thing you can do try to find hosting near your targeted country and If you are focusing on the whole planet then you should use Content Delivery Network(CDN).

wordpress optimization

A CDN fixes the latency problem by storing copies of your assets. Such as images, CSS, and JavasScript on servers, also known as POPs, around the globe.

It also caches them. So, when a visitor comes from another side of the planet. The content will be delivered from the local POP instead of your web server.

Conclusion- WordPress Optimization

I hope this helps you to optimize your WordPress website. And start focusing on loading time instead of just good scores.

If having any issue implementing the above suggestions, you are more than welcome to leave a comment below. I will try my best to walk you through.

 

Show More

Related Articles

Close