@font-face 在 ie8 中每个页面加载时都会闪烁
我知道使用 @font-face 时,一定量的文本闪烁或 FLOUT(即使不明显)几乎是不可避免的。然而,我在 IE8 上遇到了一个问题,即每个页面加载时都会发生闪烁。与其他浏览器不同,字体文件似乎根本不被缓存。为什么会发生这种情况?有什么解决方案吗?谢谢
I know that a certain amount of text flicker or FLOUT (even if its unnoticeable) is almost inevitable with @font-face. However im having an issue with IE8 where the flicker occurs on every single page load. It seems that unlike other browsers the font file isn't cached at all. Why could this be happening and are there any solutions? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经通过在 htaccess 中添加此文件的缓存规则来解决此问题。
Ive managed to fix this by adding caching rules for this file in the htaccess.