In this article let me summarize how to accelerate WordPress.
System architecture
![](https://linuxfun.org/wp-content/uploads/2021/10/image-31.png)
You can find from my github.
Nginx
Target is Nginx.
![](https://linuxfun.org/wp-content/uploads/2021/10/image-33.png)
This is explained by this article.
PHP
Accelerating this part.
![](https://linuxfun.org/wp-content/uploads/2021/10/image-34.png)
This is explained by this article.
WordPress
Next is WordPress.
![](https://linuxfun.org/wp-content/uploads/2021/10/image-35.png)
For WordPress you can see by this post.
Also I did applying WebP.
This drastically improved for mobile environment which improved 200%!
mysql
This is mysql database for WordPress.
![](https://linuxfun.org/wp-content/uploads/2021/10/image-36.png)
Yes, you can find what I did.
microSD -> USB HDD
I switch to use USB HDD instead of microSD.
![](https://linuxfun.org/wp-content/uploads/2021/10/image-37.png)
This article explains.
From TCP socket to Unix Domain Socket
I switched to use Unix Domain Socket which is generally faster than TCP socket.
![](https://linuxfun.org/wp-content/uploads/2021/10/image-38.png)
This article explains how to do it.
Applying 64bit OS
I decided to use 64bit Raspbian.
![](https://linuxfun.org/wp-content/uploads/2021/10/image-40.png)
You can find how to do this.
HDD -> SSD
Finally I moved to M.2 SSD from HDD.
![](https://linuxfun.org/wp-content/uploads/2021/10/image-37.png)
This article explains how to.
Conclusion
How was it?
You can take some of improvements independently.
No need to do all at one time!
Comments