• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RESOLVED webp

Messages
13
Likes
0
Points
1
#1
Hi

As per attached screenshot, the plugin is saying Redirection via .htaccess is possible, but the option to select it is greyed out?
 

Attachments

Temyk

Developer & Support
Staff member
Messages
704
Likes
32
Points
28
#2
Hello.

Your site runs on a specific server, so our plugin couldn't recognize it and displayed the standard Apache label.
This is a bug in the plugin. We'll fix it.

The delivery method via htaccess really won't work on your site.
 
Messages
13
Likes
0
Points
1
#3
Hi Temyk

What do you mean it runs on a specific server? The response header I see in Chrome DevTools says it's running Apache.
 

Temyk

Developer & Support
Staff member
Messages
704
Likes
32
Points
28
#4
A specific server means not Apache, Nginx, or IIS.
You can check which server your site uses with this small plugin. Version Info
 
Messages
13
Likes
0
Points
1
#6
It was the iThemes Security plugin. Disabled it and the option became selectable. Re-enabled iThemes Security and the option is still selectable. And am seeing .webp on the front-end now.

Did notice however that the one image I checked is actually larger in .webp than it is in .jpg - seems that this can happen: Frequently Asked Questions | WebP | Google Developers

Is that something you're aware of? I suppose I now need to check if webp are actually consistently more often than not smaller than the lossy jpeg images, because if not then no point in using webp at all...

I know that Cloudflare also offers serving webp on their paid plans and does so selectively, i.e. only serves webp files if they are actually smaller than the source files. That would be a good feature for Robin.
 

Temyk

Developer & Support
Staff member
Messages
704
Likes
32
Points
28
#7
In this case, it is clear why this happened. The Robin plugin tries to access the htaccess file to check if it exists, but iThemes has blocked this file. You can disable blocking in the iThemes settings.

The difference in the size of such images is small and does not affect the page loading speed, but site performance testing services ask that all images on the site be WebP.
 
Messages
13
Likes
0
Points
1
#8
@Temyk - the difference in size of the image I looked at was not that small.

JPG - 84.4 KB
Webp - 106 KB

Over 20KB difference for a single image is not insignificant in terms of performance optimization, especially if this happens across multiple images on a single page. That will affect page loading speed.

I know that performance testing services sometimes just expect all images to be WebP for their scoring, but then we shouldn't be doing performance optimization for these services but for the end user.