Skip to content

Instantly share code, notes, and snippets.

View rjewell's full-sized avatar
👋
Heeeey.

Bob Jewell rjewell

👋
Heeeey.
View GitHub Profile
@rjewell
rjewell / ttfb.sh
Created May 6, 2019 18:12 — forked from sandeepraju/ttfb.sh
curl command to check the time to first byte
#!/bin/bash
# file: ttfb.sh
# curl command to check the time to first byte
# ** usage **
# 1. ./ttfb.sh "https://google.com"
# 2. seq 10 | xargs -Iz ./ttfb.sh "https://google.com"
curl -o /dev/null \
-H 'Cache-Control: no-cache' \
-s \
check_redirect () {
echo "- Redirect chain for $1 - ";
wget $1 2>&1 | grep Location:
echo;
}
### Keybase proof
I hereby claim:
* I am rjewell on github.
* I am rjewell (https://keybase.io/rjewell) on keybase.
* I have a public key whose fingerprint is 12B3 09EC C052 4894 E05F 4C74 8593 FEBC 6927 111D
To claim this, I am signing this object: