WPO (Web Performance Optimization) is the part of web page optimization that aims to minimize the time it takes to load a website . With the increase in Internet connections (ADSL, Fiber, etc.), system administrators and web developers have to take into account the speed at which a website loads. System administrators must prepare the server to increase speed and web developers have to program the website taking into account its optimization.
In this article we will focus on the role of the system administrator, in other articles we will focus on the web developer (always taking into account the CMS used). Server optimization seeks to reduce the loading process of the entire website by optimizing the server that serves the website .
It has been proven that Google ranks pages that take less time to load much better. Therefore, a good speed when downloading a web page will help us a lot with SEO .
What do we use at KIWOP, web development denmark telegram data agency , to improve the performance of our websites?
Nginx
As for the software used to serve the website, we use Nginx, which is a simple, high-performance web server. Nginx is developed with free software and is open source, with a simplified BSD license. It is also multi-platform. According to a study by Netcraft, Web Server Survey May 2013, Nginx is the second most used web server in active domains, surpassing the Microsoft Information Server web server. It serves more than 100 million websites.
A good configuration of this web server is essential to improve the performance of the website. At KIWOP we know how to do it.
Varnish
Varnish Cache is a web application accelerator. This technique is also known as reverse proxy caching. The installation process is done on the server where the website to be accelerated is hosted. At KIWOP we always put Varnish in front of the Nginx web server.
The purpose of proxies is to intercept the network connections that a client makes to the destination server. The content generated in the first request of a user is preserved or saved, so that in the next requests of any user, the content generated the first time will be served.
The Varnish Cache technique is very simple, since what is done is to store a copy of all the web pages on the server's hard drive, thus allowing them to be accessed much faster without having to execute the page in question every time it is requested.
These web application accelerators are designed to increase the performance of web applications, making page loading times much shorter. To check their performance, the following figure shows the increase in performance when using -or not- Varnish compared to other caching systems .
varnish-speed
Therefore, using Varnish on the web server significantly increases the performance of the page served to the user. And that is good both for users who see pages load faster and for search engines.
PHP HHVM
HHVM was created in 2010 by Facebook employees to gain resources on their servers. HHVM works as a standalone web server that runs PHP scripts.
HHVM significantly improves the performance of scripts written in PHP. For an example, here is a figure comparing PHP 7 with HHVM using WordPress as CMS.
hhvm-vs-php7
As you can see, only PHP 7 (which is yet to be officially released) can compare with HHVM. And yet, HHVM is even superior.
MySQL: Percona Server
Percona Server is a fork of MySQL that was born about 10 years ago. Percona employees are mostly former MySQL employees. At KIWOP we use Percona as our MySQL database. Even Percona, you have to know how to configure it to get the most out of it.
Do you want KIWOP to speed up your website?
Today's users are increasingly placing more importance on the loading speed of a website . Data shows that users who try to access a website that takes more than 3 or 4 seconds to load end up going to another result, which is usually from a competing company.