Lofesa edited a comment on issue #1670: SVG file URLs not being mapped to CDN URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1670#issuecomment-555197823 Hi @andymathieson So thi´s is not working: `pagespeed MapRewriteDomain 'https://cdn.cloudfront.net/assets' 'https://domain.co.uk/assets`'; Well.. I´m not sure if this part work `'https://domain.co.uk/assets'` as far as in the [doc](https://www.modpagespeed.com/doc/domains#mapping_rewrite) don´t say that path are allowed in the original domain as is stated for destination.... But you say it works for other file types.... so thi´s make me thinking is a file extension issue or an html label. The doc states "When PageSpeed rewrites a resource...." but svg files can´t be rewrited cause can´t be optimized/cache extended At what html labels are the svg files set? img or picture? EDIT: The content-type is set to `image/svg+xml` ?
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services