This won’t solve your getaddrinfo issue.
Nor will it bypass any caching Twitch has in place as it’ll go “well you are clearly trying to bypass the cache” and serve you a cached response.
The cache is server side, not client side.
This is too fast, you shouldn’t be polling any quicker than once per minute.
There’s no point polling the stream end point quicker than once per minute as are just wasting CPU cycles as you’ll just get the same response.
Further more you’ll end up getting messy debounces when the stream starts/end’s if you hit different servers in the pool behind the load balancer polling quicker than a minute.