3 ms·
And now add browser user-agent to the curl request and watch how slow it gets. - `time curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox
by djvdq 3y ago
And now add browser user-agent to the curl request and watch how slow it gets.
- `time curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -L https://t.co/4fs609qwW https://t.co/4fs609qwW` -> 4.730 total
- `time curl -L https://t.co/4fs609qwWt https://t.co/4fs609qwWt` -> 1.313 total
Same request, the only difference is user-agent.