Lofesa edited a comment on issue #2078:
URL: 
https://github.com/apache/incubator-pagespeed-mod/issues/2078#issuecomment-893676970


   Hi
   And the webp images are served?
   
   In the map you have `"~*webp"` , the ~ tell us to make it case insensitive, 
`"*"` any string, webp the string "webp", but I´m not sure if this must be: 
`"~*webp*"` because the webp string in the accept header can be in the middle ( 
f.e. accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8 
from chrome).
   In the try_files $uri$webp_suffix you are searching for some like 
https://yoursite.com/image.jpg.webp. Your webp files are called in this way?
   
   For sure sprite_images don´t work with webp. From the docs : "The 'Sprite 
Images' filter detects GIF and PNG images used as backgrounds in CSS". This 
filter need rewrite_css enabled, but other filters may work, I never used webp 
images other than the converted by pagespeed.
   
   But first you need to be sure webp images are served for you server, then 
enable pagespeed and take a look on whats happens.
   
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to