Help Center> Content Delivery Network> FAQs> Troubleshooting> What Do I Do If the Browser Displays a Message Indicating that a Cross-domain Exception Occurs After CDN Is Enabled?

What Do I Do If the Browser Displays a Message Indicating that a Cross-domain Exception Occurs After CDN Is Enabled?

The possible reason is that some resources in the cross-domain request did not respond to the message header Access-Control-Allow-Origin. You are advised to configure the response header information based on the domain name requirements. For details, see HTTP Header Settings (Cross-origin Requests).

To prevent cross-domain errors caused by browser cache, clear browser cache after configuring Access-Control-Allow-Origin.