Forum Discussion

serkan_firat_31's avatar
serkan_firat_31
Icon for Nimbostratus rankNimbostratus
Mar 23, 2017

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.

 

No RepliesBe the first to reply