How to install Image optimization tools?
The tools should be installed on the server using the root user.
For Linux based environment the following command should be run:
- sudo apt install jpegoptim
- sudo apt install optipng
- sudo apt install gifsicle
- sudo apt install webp
For Centos:
- sudo yum install libwebp-tools
- sudo yum install libwebp.x86_64