![]() is a directory of Joomla hosting companies and services, offering in-depth Joomla hosting company editor and user reviews, exclusive hosting coupon deals and expert joomla hosing and web design advice. ![]() Header set Access-Control-Allow-Origin "*"īy adding the above code the server is telling the browser it is okay to access font files from other servers. # Alternatively you could only whitelist your # Allow access from all domains for webfonts. This a great example of what to add to your. If you have any easier way to explain this email me and I will upate the page Well FireFox and IE pay attention to these rules Chrome does not. And that is a problem and your page does not correctly display. The server also tells the browser it can not download fonts from another location. When you turn on the CDN, the web server tells the browser to get some resources from the CDN and the CDN says get some files from Font Awesome server. It is a security / safety feature that keeps browsers from accessing resources on different servers, which keeps bad people from doing bad things. Check out these images:Īfter some research and a helpful email from Justin Dorfman of NetDNA, I learned about Cross Origin Resource Sharing (CORS) issues.įor those who have no idea what a CORS issue is, and that included me, here are the details. For some reason Font Awesome was not displaying when the CDN was enabled. After some research we tracked down the missing icon. It was clear an icon or element was not present. ![]() When we enabled our CDN and viewed the site in FireFox the drop down menu icons were missing but not in Chrome. After troubleshooting and research we found it was a CORS issue and learned how to fix it. We had a situation where some elements of a site were not displaying when the CDN was enabled.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |