Is your website slow? Here’s a list of things to check. Reason and solution format.
It’s slow because of your SSL
It happens primarily on low end VPS boxes where CPU can’t handle strong ciphers well. You don’t have to sacrifice performance for security, but you can make use of secure ciphers which are faster, excluding the slow ones:
In http
section of nginx.conf
, specify:
ssl_prefer_server_ciphers on;
ssl_ciphers EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
It’s slow because of PHP version is old
Every release of PHP scripting engine brings more features and speed. It is especially true for PHP 7, which is up two 2-3 times faster than the previous PHP releases.