kinglozzer opened a new issue #1902: Images being rewritten despite 
image_preserve_urls being set
URL: https://github.com/apache/incubator-pagespeed-mod/issues/1902
 
 
   Hi,
   
   I’ve been trying to enable filters one-by-one for my application in the 
least intrusive manner possible. So my current configuration is:
   
   ```
   ModPagespeed on
   ModPagespeedRewriteLevel PassThrough
   ModPagespeedEnableFilters 
in_place_optimize_for_browser,image_preserve_urls,convert_jpeg_to_webp
   ```
   
   Images are re-encoded to webp in-place as expected, but part of my 
`<picture>` elements are still rewritten. E.g:
   
   ```html
   <picture>
        <source media="<query>" srcset="<path-othersize>.jpg">
        <img src="<path>.jpg" alt="">
   </picture>
   
   gets rewritten to
   
   <picture>
        <source media="<query>" srcset="<path-othersize>.jpg">
        <img src="<path>.jpg.pagespeed.ic.0UtHAEiYYU.webp" alt="">
   </picture>
   ```
   
   I thought `image_preserve_urls` was intended to prevent this sort of URL 
rewriting, am I misunderstanding that filter?
   
   Thanks!

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to