10 Server Level Optimization Tips For WordPress

0
38
10 Server Level Optimization Tips For WordPress

We all know that WordPress is a great tool for creating a blog. WordPress has many optimization plugin to get most out of it and speed up WordPress blog. Unfortunately those plugins can speed up to some extent. To be in the competition and to make websites more faster, we need to do some sort of optimization at the server level. WordPress optimization with some server level best practices can return a good yield out of a WordPress blog. So in this article we will talk about those 10 server level optimization tips for WordPress.


Also Read: How To Install WordPress: A Beginners Guide


If you are using a shared hosting service, then options for server level optimization is very less. Usually web host will restrict almost all setting in shared hosting. Even most of the company do not allow to do some basis PHP setting change. So if you are using a shared hosting then most of the tips may not be applicable for you. But if you are on VPS or dedicated server, then you can try this tricks to get the best out of your WordPress blog.

10 Server Level Optimization Tips For WordPress

To optimize at the server level, you should have a basic knowledge and understating about Web Server and how those work. If you don’t know what is a web server then you can read this article where I spoke about 3 best web server in the world. If you don’t know which hosting type you should choose, then you can read through this article to clear your confusion.

Use a Good Web Server

Many of us don’t look for a good web server while buying hosting. Apache is the default choice of almost all shared hosting and VPS. Unfortunately Apache is not the perfect web server to speed up websites. Instead we can go for Light Speed server which is offered by many host in their shared hosting package. Since its not free so in VPS or dedicated server it does not many sense. You can use NGINX in VPS or dedicated which is faster than Apache and free of cost also.

Use Cache Module

Cache module acts as a mediator between visitor and web server. Cache modules save static files in their modules so that whenever visitor request for any web content, it is directly served by cache module instead of loading pressure on main web server. This helps in loading the website much faster. There are two free module for Apache and NGINX which is very popular.

• Garnish Cache
• NGINX Cache

Both Garnish and NGINX cache can be installed in Apache and NGINX web servers. Usually those are provided by host but if not you can ask them to install my yourself. But make sure those are installed and configured properly. Otherwise this might even slow down your website. As per my personal experience, NGINX cache performs much better than Garnish and Garnish cache creates so many problem if not configured correctly.

Use Reverse Proxy

Reverse proxy is an intermediate proxy server which handles all client request as if like it is the main server. Whenever a client request happen, reverse proxy server serves the content without bothering the main server. The main difference Forward and Reverse proxy is that, in case of Forward proxy, the proxy need to be there at client level. But in case of reverse proxy, it sits on the server side.

NGINX reverse proxy is very popular and can be installed in Apache and NGINX. So for those who are looking for reverse proxy module, “NGINX reverse proxy “ is a very good solution.

Enable GZIP compression

More than 90% of website shows website contents in compress format. If data is not compressed, it will take more time for a website to load which is annoying for many visitors.. You can enable GZIP compression by using a WordPress plugin but the same can be done by changing some setting at the server level.

How to enable GZIP compression in C Panel

• Log in to C Panel
• Go to Optimize Website under software
• Select desired compression option.

Optimize Images

If you are using Apache or NGINX, then you can use the “ Page Speed” module to optimize images at the server level. However you can always optimize images by using WordPress plugins. Page speed module compress images and thus reduce website load time. Ideally it can reduce image size by up to 50% by removing no visible image information and applying high efficiency compression methods. It also support to offer new image formats like WEP. If you allow page speed module to change you HTML and CSS code then it reduce image size more and load your website faster.

Use A CDN

A CDN ( Content Delivery Network) helps you by offering seamless speed for your website across the globe. CDN uses bunch of servers in various cities of world. Those servers copies your website content. So whenever a visitor visits your website, the content gets delivered from the nearest server. Though this is the primary job of a CDN but it does much more than this task now a days. If you want to know more about CDN and want to know about free CDN service then please read this article.

Use HTTP/ 2 protocol

HTTP/ 2 or HTTP version 2 protocol loads your website faster. At presents only 10 million website uses HTTP/2 protocol. But this numbers are increasing and if you want to increase your website loading speed then you should use HTTP/2 protocol. If you are using shared hosting then you might see a straight forward setting to enable HTTP/2. In VPS or dedicated sevrer you have to insall the module manually depending upon your server type. You can also enable HTTP/2 in Cloud flare CDN without bothering anything at the server level.

Use SSL

SSL ( Secure Security Layer) is a must now a days if you want to speed up or rank your website. Google does not entertain any website now a days without a SSL certified installed. SSL also helps in blocking not secure content and thus increase the website speed. For shared hosting now a days all host provides free SSL. For VPS and dedicated server you need to install the SSL certificate manually. If case you don’t want to install any SSL certificate at the server level, you can use Free SSL from cloudflare.

Minify Codes

There are many server modules are available which minify CSS, Javascript and HTML codes to optimize the website. Unnecessary codes are a big burden for speed. Magnifying codes helps in removing those extra codes and loading your website faster. Apart from minifying codes at server level you can also select the option in Clodflare setting to minify Javascript, HTML and CSS codes.

PHP setting

Default PHP setting is not suitable to have good loading speed of websites. Shared hosting does not allow for PHP setting change. If you use a VPS or dedicated server then you can apply below PHP setting to get best out of your server.

memory_limit = 128M
max_execution_time=300;
max_input_time=-1
upload_max_filesize=25M;
post_max_size=20M;
max_input_vars=10000
suhosin.get.max_vars = 10000;
suhosin.post.max_vars = 10000;

Wrapping Up

Well, in this article we  only talked about 10 Server Level Optimization Tips For WordPress. But there are hundreds of other optimization tricks that you use. This tricks along  with some WordPress level optimization can yield the maximum benefits. Please read this article if you want to how two WordPress plugin can do wonder to speed up a website.

That’s all I have in this article. Hopefully, you got some useful information in this article. If you have any questions, then do write in the comment section and I will be happy to answer you.

If you choose to connect with us through social media platform, then please follow us on Facebook, Twitter or Instagram. You also have the option to carry BlogByts in your pocket using BlogByts Android App.

Rate this post

LEAVE A REPLY

Please enter your comment!
Please enter your name here