You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2019/01/17 06:24:15 UTC
[GitHub] ZTzha opened a new issue #1621: rewrite css image but get 404
ZTzha opened a new issue #1621: rewrite css image but get 404
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1621
at first, i want to change my image which is referenced from CSS, like:
<<<a title="" class="banner_img action_jump" style="background-image: url("//koss.iyong.com/swift/v1/iyong_public/iyong_2504866249294336/image/20180425/1524643445336016525.jpg");" href="product.html?proTypeID=2597685376157056" target="_self" >>><</a>>
so i enable the filter:
pagespeed EnableFilters rewrite_css;
pagespeed EnableFilters fallback_rewrite_css_urls;
pagespeed EnableFilters rewrite_style_attributes_with_url,rewrite_images;
yes,it can change my image to webp as base64.but it make my important CSS file 404?
my origin html code --> link rel="stylesheet" href="http://css.j-cc.cn/css/webmain.css?v=ud_20181122"
when enable filter:
html code changed --> link rel="stylesheet" href="http://css.j-cc.cn/css/A.webmain.css,qv=ud_20181122.pagespeed.cf.Fr3ywSY3dq.css"
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services