xiangfengsu opened a new issue #1583: Jpeg file Content-Type does not become 
webp  when using convert_jpeg_to_webp
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1583
 
 
   Hi,
   
   Please visit the link [website.](http://118.190.154.11/index.html)
   I can see that its type is jpeg, but its file name does become suffixed with 
webp.
   
![image](https://user-images.githubusercontent.com/9291534/43626640-60d2d97e-9725-11e8-8d0a-2b91484389d2.png)
   
   nginx version: nginx/1.15.2
   ngx_pagespeed version: ngx_pagespeed-1.13.35.2-0-stable
   
   `      pagespeed on;
           pagespeed FileCachePath /var/ngx_pagespeed_cache;
   
           location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
           add_header "" "";
           }
           location ~ "^/pagespeed_static/" { }
           location ~ "^/ngx_pagespeed_beacon$" { }
           
   
           location ~ \.(gif|jpg|png|js|css|html)$ {
               root /var/opt/project/demo;  
               index  index.html index.htm;
           }   
           location =/{
             root /var/opt/project/demo;
             index  index.html;
             
           }
           pagespeed EnableFilters recompress_images;
           pagespeed EnableFilters convert_gif_to_png;
           pagespeed EnableFilters convert_jpeg_to_webp;
           pagespeed EnableFilters recompress_webp;
           pagespeed ImageRecompressionQuality 10;`
   
   Thanks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to