I have written a short bash function for measuring website metrics such as DNS lookup, redirects, redirect time, the first byte (TTFB), connect time and the total time. Short version (Only TTFB) function ttfb() { if [ $# -eq 0 ] then echo “Usage: ttfb url” else curl -o /dev/null \ -H ‘Cache-Control: no-cache’ \…
Where there is a shell, there is a way