zlacker

[parent] [thread] 3 comments
1. _a9+(OP)[view] [source] 2023-08-15 04:34:00
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`

replies(1): >>djvdq+2i1
2. djvdq+2i1[view] [source] 2023-08-15 15:31:13
>>_a9+(OP)
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.

replies(1): >>wakame+do2
◧◩
3. wakame+do2[view] [source] [discussion] 2023-08-15 21:21:46
>>djvdq+2i1
your URLs are different.
replies(1): >>djvdq+Ov3
◧◩◪
4. djvdq+Ov3[view] [source] [discussion] 2023-08-16 07:13:04
>>wakame+do2
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]