website_speed
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
website_speed [2015/07/30 07:51] – created luke7858 | website_speed [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <sxh bash> | ||
- | curl -I -X GET 12.34.56.78 -H 'Host: example.com' | ||
- | </ | ||
<sxh bash> | <sxh bash> | ||
time for i in {1..10}; do curl -sI -XGET https:// | time for i in {1..10}; do curl -sI -XGET https:// | ||
Line 21: | Line 18: | ||
user 0m0.090s | user 0m0.090s | ||
sys 0m0.052s | sys 0m0.052s | ||
+ | </ | ||
+ | |||
+ | |||
+ | __**Investigating timeouts**__ | ||
+ | \\ | ||
+ | Use the following command, run it from servers in different regions | ||
+ | <sxh bash> | ||
+ | time curl -sILk -X GET https:// | ||
+ | </ | ||
+ | Output: | ||
+ | <sxh bash> | ||
+ | HTTP/1.1 200 OK | ||
+ | Server: nginx/1.6.2 | ||
+ | Date: Tue, 14 Jul 2015 11:17:03 GMT | ||
+ | Content-Type: | ||
+ | Connection: keep-alive | ||
+ | X-Powered-By: | ||
+ | Set-Cookie: DokuWiki=t86pagsv4t9snsvchj87rhjhl2; | ||
+ | Expires: Thu, 19 Nov 1981 08:52:00 GMT | ||
+ | Cache-Control: | ||
+ | Pragma: no-cache | ||
+ | Set-Cookie: DW7fa065a06cb74b536c124cfbe56ac6d3=deleted; | ||
+ | X-UA-Compatible: | ||
+ | |||
+ | |||
+ | real 0m0.087s | ||
+ | user 0m0.023s | ||
+ | sys 0m0.005s | ||
</ | </ |
website_speed.1438242709.txt.gz · Last modified: 2024/05/23 07:26 (external edit)