Welcome to Zuora Product Documentation

Explore our rich library of product information

Optimized process

Use the optimized process to configure API request handling without repeating subdomain and CNAME setup before going live. This approach removes explicit endpoint configurations and relies on proxy rules for seamless CDN integration.

To mitigate these issues using the optimized process, complete the following steps:

  1. Remove the explicit cdnAPI endpoint configuration from the JavaScript run() method. This means that API calls are made using the Origin as a destination, as shown in the following example Request URLs:
    • https://latestnews.cdn.arcpublishing.../zephr/feature

    • https://latestnews.cdn.arcpublishing...ture-decisions

  2. Apply a proxy rule on the server. The requests are received by the server and a proxy rule is applied. The configured proxy rule changes the Origin to the actual API endpoint and path used in Zephr, as shown in the following example Request URLs:
    • https://latestnews.cdn.zephr.com/zephr/feature

    • https://latestnews.cdn.zephr.com/zep...ture-decisions