我在Internet Explorer中加载图标时出现问题。起初我认为这是 https ,但我的整个网站都在 https 。
当我在IE浏览器的主页上,我的所有图标都缺失,我在网络会话中注意到以下内容:
但是,当我登录我的帐户时,我会注意到所有图标再次显示,而在网络会话中我只看到显示:
我不确定为什么登录我的帐户时我的所有图标都会重新开始显示,而当我没有登录时,只会显示上面的内容而不是全部。有谁知道我是怎么回事可以解决这个问题吗?也许这是一个会话问题?
以下是我在CSS文件中保存的内容:
@font-face {
font-family: 'icomoon';
src:url('../fonts/pb-icons.eot?-ot1xzl');
src:url('../fonts/pb-icons.eot?#iefix-ot1xzl') format('embedded-opentype'),
url('../fonts/pb-icons.woff?-ot1xzl') format('woff'),
url('../fonts/pb-icons.ttf?-ot1xzl') format('truetype'),
url('../fonts/pb-icons.svg?-ot1xzl#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
谢谢!
答案 0 :(得分:0)
我能够通过删除“Pragma:no-cache”和“Cache-Control:no-store”来解决这个问题,就像它在下面的链接中提到的那样。