Azure CDN - 使用HTTP标头清除问题 [英] Azure CDN - Purge issue with HTTP Header

查看:108
本文介绍了Azure CDN - 使用HTTP标头清除问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆