Introducing WebP on Your Website

Introducing WebP on Your Website.

 


Converting your images to your Magento & WordPress websites to WebP is rather straightforward. Implementing WebP on your WordPress website can be quite a bit more complicated and may require our help.

 

Put simply WebP images are the same quality of resolution but do not compress the image’s quality, thus the image is physically small and will load within a fraction of the original .jpg.

 

Introducing WebP on Your Website

 

The primary principle question should be will internet browsers support WebP? it’s a big question because if your browser (say Firefox) doesn’t support WebP it must rollback to the .JPG version.

 

The easiest method, but of course the most laborious is that you can manually recode the HTML of every image on your site. I am at the time of writing this blog, creating a simple script to perform this task.

 

Introducing WebP on Your Website

 

.htaccess. Most of you are perhaps using an Apache server, and it is possible to add my code to the .htaccess file, which will enable the WebP functionality.

 

Javascript.  My htaccess initial version may not work on all server configurations. In which case, try another option, use javascript which runs as the page loads. There are many versions for how to perform this relatively straightforward process, from creating your own to using a plugin for WordPress.

 

Introducing WebP on Your Website

 

It will be a fantastic addition to your website when it can load all the images within the blink of an eye, I for one cannot wait for this new format to become an industry standard. Let us all do our part to push this incredible file extension into the mainstream. Website companies like websiteservices.business are looking into developing more advanced algorithms to simplify general code effects.