Compressing images is easy way to decrease the page loading time and increase performance. Tinify has the better option to compress the images in lossless way to not to lose the quality of the image. Here we gonna use Tinify REST api in laravel to compress the images and directly upload the images to S3 using YsTinifyLaravel package.
Here we will go through list of steps to install LEMP for Ubunutu 16.04 in a easy way. After logging into the server using SSH, Step 1: Have to update the default packages. [crayon-5f653a2f2b956901438372/] Step 2: Install nginx [crayon-5f653a2f2b961648529319/] After the installing nginx you can check start the server and know the status for the