If you are using Nginx web server on your Plesk server, you can enable Gzip compression on Plesk by using the following method. Please click here to know how to enable Gzip compression on Plesk with Apache web server.
First you need to create the file gzip.conf in /etc/nginx/conf.d/ so it become /etc/nginx/conf.d/gzip.conf using the below command
Then copy and paste the below command into the file and save it.
Test your configuration to see if everything is good using
If everything is fine use the below command to restart the server
Then use this tool to test