Answer the question
In order to leave comments, you need to log in
How to check redirect speed?
Hi all.
There is a page with a script that takes data from the database and redirects to an external address. You need to measure the speed from opening this page to the start of a redirect to an external link. How can this be done? How to google?)
Thank you.
Answer the question
In order to leave comments, you need to log in
you open the page, and through f12 in devtools everything is visible.
Network Tab
cURL can measure time https://stackoverflow.com/questions/18215389/how-d...
Example:
~$ curl -w "time_connect %{time_connect}\ntime_redirect %{time_redirect}s\n" \
-o /dev/null -s http://wordpress.com/
time_connect 0,052253
time_redirect 0,000000s
httpstat -IL http://wordpress.com/
DNS Lookup TCP Connection Server Processing Content Transfer
[ 3ms | 25ms | 140ms | 53ms ]
| | | |
namelookup:3ms | | |
connect:28ms | |
starttransfer:231ms |
total:284ms
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question