Welcome! Log In Create A New Profile


nginx WEBP from JPG

Posted by inverser 
nginx WEBP from JPG
February 28, 2019 05:24AM
In one of the videos on youtube I heard that there is such an opportunity in nginx:
send the jpg image format to the user in the browser but the contents of the webp file using nginx
those. file, for example, named https://site.org/images/image.jpg
posted on the server in jpeg format. When a browser that supports WEBP accesses it, nginx gives this image:
but in WEBP format. With a corresponding decrease in its size.
How is this implemented?
video [RU]

Edited 2 time(s). Last edit at 02/28/2019 05:26AM by inverser.
Re: nginx WEBP from JPG
February 28, 2019 11:09AM

thank you, bro!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 260
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready