

If you are using Ubuntu, you can follow step one of How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04. If you would like to use CentOS, you can set up a CentOS 7 server with our Initial Server Setup with CentOS 7 tutorial.Īpache installed on your server. To set up an Ubuntu 16.04 server, you can follow our Ubuntu 16.04 initial server setup guide. To follow this tutorial you will need:Ī server set up with a non-root sudo user. Working with WebP images does not require a particular distribution, but we will demonstrate how to work with relevant software on Ubuntu 16.04 and CentOS 7. Finally, you’ll explore two ways to serve WebP images to your visitors. In this tutorial, you will use the command-line tool cwebp to convert images to WebP format, creating scripts that will watch and convert images in a specific directory. If your application or website is experiencing performance issues or increased traffic, converting your images may help optimize page performance. Using WebP images can lead to sizeable increases in page speed. Its main advantage over other image formats used on the web is its much smaller file size, which makes web pages load faster and reduces bandwidth usage. The WebP format supports both lossy and lossless image compression, including animation. There are also plans for implementing WebP in Firefox. Both Google Chrome and Opera support the WebP format natively, and since these browsers account for about 74% of web traffic, users can access websites faster if these sites use WebP images. Since then, the number of websites and mobile applications using the WebP format has grown at a fast pace. WebP is an open image format developed by Google in 2010 based on the VP8 video format.
The author selected the Apache Software Foundation to receive a donation as part of the Write for DOnations program.
