Forum Discussion
How to disable X-TS-AJAX-Request
My main goal is to disable HTTP option calls going from CDN to my origin, which is totally unnecessary.
While investigating, I see that X-TS-AJAX-Request header value is causing these extra and unnecessary HTTP OPTIONS calls.
On the CDN side, there is a configuration for access-control-allow-headers which are Content-Type and X-TS-AJAX-Request.
When I test my app by bypassing F5 and going to HTTP server directly I am not seeing HTTP Option Calls. However with F5 X-TS-AJAX-Request=true is being added to Ajax calls, which is causing HTTP Options. These calls are hurting my performance as well.
Can you please help me solve this problem? Should I disable this header value? on F5 or CDN? if so who is injecting this value ?
Thanks.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com