如果我将 sIFR 切换到 @font-face,我会感觉到页面加载的任何性能改进吗?
我根据客户要求使用 sIFR 创建了一个网站,因为客户想在主页标题和副标题等中使用他的徽标字体。
现在客户觉得网站加载速度很慢,因为主页本身有 20 个 sIFR 文本实例。
现在,如果我建议客户将 sIFR 更改为 @font-face 那么它会在页面速度方面产生显着差异吗?
客户有自己的自定义字体,谷歌字体库中没有,他还需要与 IE 6 到 8 兼容。
Now if I suggest to client to change sIFR to @font-face then will it make a noticeable difference in page speed?
It probably will, seeing as the sIFR script replaces visual elements on the page after loading. The sometimes noticeable flicker on page load will disappear. Other than that, it's hard to predict whether the switch will cure the performance problem your client is talking about. You may have to try it out.
Client has his own custom font which is not available in Google font library and he need compatibility with IE 6 to 8 also.
This sounds like a separate question to me. The best way might be serving sIFR to old browsers, and font-face to new ones.