@H_403_1@在优化开启时从包中呈现样式时,您可以获得:
<link href="/Content/themes/base/css?v=UM624qf1uFt8dYtiIV9PCmYhsyeewBIwY4Ob0i8OdW81" rel="stylesheet" type="text/css" />
不幸的是,Android浏览器似乎没有load urls with query strings.有没有办法在System.Web.Optimization中自定义此字符串?
编辑:
My question is answered and I tried to detect android on user agent string and replace with a querystring less link to the stylesheet. Apparently the problem I had wasn’t because of the querystring,it was minified version of the webfont css that was causing it not to load the stylesheet completely in the Android stock browser.
Android stock browser 07001 which was a workaround for the ASP.NET minifier that 07002. I ended up putting the icon font css styles on it’s own “minified by hand” stylesheet.