Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

nginx WEBP from JPG

$
0
0
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

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>