Welcome! Log In Create A New Profile

Advanced

nginx WEBP from JPG

Posted by inverser 
nginx WEBP from JPG
February 28, 2019 05:24AM
Hello.
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:
https://site.org/images/image.jpg
but in WEBP format. With a corresponding decrease in its size.
How is this implemented?
-----
video [RU]
https://www.youtube.com/watch?v=-D6LHUQQBRI



Edited 2 time(s). Last edit at 02/28/2019 05:26AM by inverser.
Re: nginx WEBP from JPG
February 28, 2019 11:09AM
https://ruhighload.com/Оптимизация+изображений+с+webp

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

Click here to login

Online Users

Guests: 86
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready