Font-awesome disappears after refresh for all ie browsers ie11,ie10,ie9

浪尽此生 提交于 2019-11-27 18:56:37

问题


I know it seems this question has been asked before, but the solutions I've found are for IE8 only.

We are using Font Awesome 4.1.0 and Bootstrap v3.0.3 in our project. If we load the page for the very first time all the icons render properly. When we reload page in Internet Explorer using Ctrl + R, they disappear.

This issue is occurring for all IE versions we've tested, including IE11.


回答1:


So the issue was on IE with https in all the request one header related to no-catch pragma was coming extra and that header was causing issue in loading font.

following code was added to context.xml file to fix this issue.

<Context>
    <Valve className="org.apache.catalina.authenticator.BasicAuthenticator" 7
        disableProxyCaching="false" />
</Context>

And that context.xml file was kept in our ROOT folder.



来源:https://stackoverflow.com/questions/26433294/font-awesome-disappears-after-refresh-for-all-ie-browsers-ie11-ie10-ie9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!