Troubleshooting @font-face EOT Not Loading Over HTTPS
Encountering difficulties loading @font-face EOT fonts via HTTPS in IE 7,8,9? The conundrum lies not in the HTML page's HTTPS status, but rather in the loading of the EOT font over HTTP itself. Despite receiving the appropriate content-type header, the EOT font remains elusive.
Investigating the Issue
After ruling out font-specific issues and verifying the proper HTTP header, it becomes evident that the culprit lies elsewhere.
Unmasking the Solution
The resolution to this perplexing issue involves the Cache-Control header. While disabling caching for fonts works seamlessly over HTTP, it impedes font loading over HTTPS in Internet Explorer. This behavior is akin to the phenomenon described in KB 815313, where active documents downloaded over SSL are immune to caching.
Therefore, if the Developer Tools network view reveals IE traversing various font options, consider examining and removing any Cache-Control headers present in the font's HTTP response. This simple adjustment should alleviate the loading woes and ensure the EOT font graces your page with its presence.
The above is the detailed content of Why Is My @font-face EOT Font Not Loading Over HTTPS in IE 7, 8, and 9?. For more information, please follow other related articles on the PHP Chinese website!