Does CloudFlare support Cross-origin resource sharing (CORS)?

CloudFlare supports CORS and operates in the following way:

  • The CloudFlare CDN identifies cache items based on the Host Header + Origin Header +  Path and Query, which supports different objects using the same host header, but different origin headers
  • CloudFlare passes Access-Control-Allow-Origin header through unaltered from the origin server to the browser
Have more questions? Submit a request

Comments

Article is closed for comments.