Last active
February 17, 2022 18:21
-
-
Save mauricios/bc5cefc9d6e7071e9c1e0433385a6241 to your computer and use it in GitHub Desktop.
CURL format file to summarize loading times results of a page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Content Type: %{content_type}\n | |
HTTP Code: %{http_code}\n | |
HTTP Connect: %{http_connect}\n | |
Number Connects: %{num_connects}\n | |
Number Redirects: %{num_redirects}\n | |
Redirect URL: %{redirect_url}\n | |
Size Download: %{size_download}\n | |
Average speed download: %{speed_download}\n | |
Size Upload: %{size_upload}\n | |
SSL Verify: %{ssl_verify_result}\n | |
Time Handshake: %{time_appconnect}\n | |
Time Connect: %{time_connect}\n | |
Name Lookup Time: %{time_namelookup}\n | |
Pretransfer: %{time_pretransfer}\n | |
Time Redirect: %{time_redirect}\n | |
Time Start Transfer (TTFB): %{time_starttransfer}\n | |
--------------\n | |
Total time: %{time_total}\n | |
\n | |
Effective URL: %{url_effective}\n |
You can use more metrics, see: https://support.cloudflare.com/hc/en-us/articles/222971907-Using-cURL-when-Troubleshooting-with-Cloudflare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test loading times with using using the file above in this command:
curl -w "@curl_time_format.txt" -o /dev/null -s "https://<hostname>/<url>"