Setting X-Cache-Debug should be done based on debug config