Azure CDN - 使用HTTP标头清除问题 [英] Azure CDN - Purge issue with HTTP Header
问题描述
从Azure CDN下载后,我遇到了与浏览器阻止的Woff字体有关的问题。我已经从我的网站向所有Woff字体请求添加了Access-Control-Allow-Origin http标头。然后,我在Azure CDN上清除了我的文件,使其
重新加载新标头,但清除似乎没有刷新文件的http标头。
I我做了一些测试,通过重命名我的字体文件,我可以让Azure使用新标题来提供文件。
为什么清除功能不会刷新标题?
可以你提到你正在使用哪个CDN提供商?
问候,
Msrini
Hi, I've got an issue related to Woff fonts blocked by the browser when downloaded from Azure CDN. I've added the Access-Control-Allow-Origin http header to all request for Woff fonts from my website. I then did a Purge of my file on Azure CDN to make it reload the new header but the purge doesn't seems to flush the http headers for the file.
I've did some test and by renaming my font file, I can get Azure to serve the file with the new header.
Why the purge functionality doesn't flush the header?
Hi,
Can you mention which CDN Provider you are using ?
Regards,
Msrini
这篇关于Azure CDN - 使用HTTP标头清除问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!