I\'m trying to get embed tweet from Twitter. So, I\'m using cURL to get the json back. I wrote a little test but the test takes around 5 seconds as well as when I run locall
This will force curl to use only ipv-4 and ignore ipv-6 which is still not very compatible with some devices and slows down the process. Adding --ipv4 to my curl command reduced the cost from 8 seconds to 4 seconds. Which is %50 faster.