zlacker

[return to "Tell HN: t.co is adding a five-second delay to some domains"]
1. kens+71[view] [source] 2023-08-15 04:20:25
>>xslowz+(OP)
I can confirm. NYT shows a five-second redirect delay: "wget https://t.co/4fs609qwWt". It redirects to gov.uk immediately: "wget https://t.co/iigzas6QBx"
◧◩
2. _a9+U2[view] [source] 2023-08-15 04:34:00
>>kens+71
Im not getting the same time delay with curl

- `time wget https://t.co/4fs609qwWt` -> `0m5.389s`

- `time curl -L https://t.co/4fs609qwWt` -> `0m1.158s`

◧◩◪
3. djvdq+Wk1[view] [source] 2023-08-15 15:31:13
>>_a9+U2
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` -> 4.730 total

- `time curl -L https://t.co/4fs609qwWt` -> 1.313 total

Same request, the only difference is user-agent.

◧◩◪◨
4. wakame+7r2[view] [source] 2023-08-15 21:21:46
>>djvdq+Wk1
your URLs are different.
◧◩◪◨⬒
5. djvdq+Iy3[view] [source] 2023-08-16 07:13:04
>>wakame+7r2
Only because I copied the first one incorrectly to put it here. I haven't selected full command, so there is a missing "t" at the end of first link
[go to top]