fix x-cache-debug header is always sent