对于所有浏览器ie11,ie10,ie9刷新后字体真棒消失 [英] Font-awesome disappears after refresh for all ie browsers ie11,ie10,ie9

本文介绍了对于所有浏览器ie11,ie10,ie9刷新后字体真棒消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道以前似乎已经问过这个问题,但我找到的解决方案仅适用于IE8。

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

我们正在使用 Font Awesome 4.1我们项目中的.0 Bootstrap v3.0.3 。如果我们第一次加载页面所有图标都正确呈现。当我们使用Ctrl + R在Internet Explorer中重新加载页面时,它们会消失。

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.

我们测试过的所有IE版本都会出现此问题,包括IE11。

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

推荐答案

因此问题出现在所有请求中的https上,与no-catch pragma相关的一个标题是额外的,并且该标题导致了问题在加载字体。

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.

以下代码已添加到context.xml文件中以解决此问题。

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

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

并且context.xml文件保存在我们的ROOT文件夹中。

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

这篇关于对于所有浏览器ie11,ie10,ie9刷新后字体真棒消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆