How to optimize WordPress for best performance ?

I’d like to share with you my LAMP configuration for good WordPress performance. I have admit that my configuration contains: Nginx – 1.10.x , PHP – 7.0.x and MySQL 5.7.  In my case EPEL, MySQL57-community, Remi repos were used.

Let’s start from Nginx main configuration file.

As you can see Nginx configured for GZIP content compression, Proxy caching, Request limiting zone and some optimization like file descriptor caching.

Virtual-host configuration file looks like this.

It contains three virtual-host items, two for http and https proxy pass with caching and internal wordpress item on tcp 8080 for non-cached content. As additional option it contains request limitation zone.

Author: GergunD

Leave a Reply