Font-face not loading in IE8 and IE9 when accessing web via SSL

后端 未结 2 1252
夕颜
夕颜 2021-01-23 08:22

I\'m using a webfont for my website (made with Spring for an Apache Tomcat 6 server). I\'m including my font in my css file with font-face as:

@font-face{
  font         


        
2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-23 09:08

    I was running into exactly the same problem and finally fixed it today. I noticed a particular web font was working in IE8/9 on one HTTPS domain, but not on another. The server for the domain that didn't work was sending the following HTTP response header for the .eot request:

    Cache-Control: no-cache
    

    When this header was removed the fonts were working in IE8/9 again. I hope this helps you as well.

提交回复
热议问题