ericallam / font_assets

Helps with serving font assets with Rails 3.1
137 stars 79 forks source link

Something curious happening with the Vary header? #39

Closed jjb closed 9 years ago

jjb commented 9 years ago

I recently starting having problems with IE, in that all versions of IE don't accept my fonts.

This wasn't always the case. I'm not sure when it started. Clearly I need to bisect my deploys and figure out when it started. But...

One of the issues I am suspecting is the Vary header, which has been documented as having strange issues with IE:

As of this writing, both of these return Vary: Origin:

I'm not sure if a change I made recently introduced the Vary header or if something else entireley is at play.

Any thoughts on this? Is it possible font_assets is introducing this header at the wrong times?

jjb commented 9 years ago

I'm using master at 457dcfddc4318e83679e9a0935612924b7717085

jjb commented 9 years ago

I discovered this has nothing to do with font_assets and is due to my use of https://github.com/cyu/rack-cors... closing.