To make dynamic acceleration model run more efficiently with better performance, you can follow the tips below.
Tips 1. Some server APIs will detect the information of request headers. If some of the request headers are missing or changed, it will cause requests blocked. To solve this issue, you can enable Header Passthrough function, which solves this and supports header from the user but not the edge location. (CDN Management > Model).
Tips 2. The default timeout of back to origin request is 30s. If your API handles requests after 30s, please set the timeout as long as possible(e.g. 60s).
Tips 3. After enabling security protection, WAF will block some abnormal traffic. If there is an error in traffic reporting, you can check WAF logs and match them to the related firewall rules.
Tips 4. Generally, an excellent CDN infrastructure will accelerate static resources and dynamic content with different solutions. It will allocate the dynamic content, API, and static resources to different domains, securely accelerating dynamic content and caching accelerating static resources.