Skip to content

Instantly share code, notes, and snippets.

View alive-vietnam-ti's full-sized avatar
💭
I may be slow to respond.

joseph tran alive-vietnam-ti

💭
I may be slow to respond.
View GitHub Profile
@sandeepraju
sandeepraju / ttfb.sh
Created July 20, 2016 21:17
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 \