User Tools

Site Tools


website_speed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
website_speed [2015/07/30 07:51] – created luke7858website_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> 
 <sxh bash> <sxh bash>
 time for i in {1..10}; do curl -sI -XGET https://walacea.com --resolve 'walacea.com:80:31.222.175.183' | grep 'HTTP/1.1'; done time for i in {1..10}; do curl -sI -XGET https://walacea.com --resolve 'walacea.com:80:31.222.175.183' | grep 'HTTP/1.1'; done
Line 21: Line 18:
 user 0m0.090s user 0m0.090s
 sys 0m0.052s sys 0m0.052s
 +</sxh>
 +
 +
 +__**Investigating timeouts**__
 +\\
 +Use the following command, run it from servers in different regions 
 +<sxh bash>
 +time curl -sILk -X GET https://lukeslinux.co.uk
 +</sxh>
 +Output:
 +<sxh bash>
 +HTTP/1.1 200 OK
 +Server: nginx/1.6.2
 +Date: Tue, 14 Jul 2015 11:17:03 GMT
 +Content-Type: text/html; charset=utf-8
 +Connection: keep-alive
 +X-Powered-By: PHP/5.4.16
 +Set-Cookie: DokuWiki=t86pagsv4t9snsvchj87rhjhl2; path=/; secure; HttpOnly
 +Expires: Thu, 19 Nov 1981 08:52:00 GMT
 +Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
 +Pragma: no-cache
 +Set-Cookie: DW7fa065a06cb74b536c124cfbe56ac6d3=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/; secure; httponly
 +X-UA-Compatible: IE=edge,chrome=1
 +
 +
 +real 0m0.087s
 +user 0m0.023s
 +sys 0m0.005s
 </sxh> </sxh>
website_speed.1438242709.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki