Is WEBP well operating on my website?
-
Hi,
I checked calling webp by using google developer tool. (screenshot)
But when I click the image file, the file name extension is still jpeg. (screenshot 1) screenshot 2
I transformed the first image to webp on this link. I wonder if it is working well.
website link is here
I am using Shortpixel with cache enabler, wp-rocket plugin on Nginx + Ubuntu + Php7 + Mariadb.
I put below code on my server block and http block already.
# server config block location ~* ^/wp-content/.+\.(png|jpg)$ { add_header Vary Accept; try_files $uri$webp_ext $uri =404; } map $http_accept $webp_ext { default ""; "~*webp" ".webp"; }
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Is WEBP well operating on my website?’ is closed to new replies.