User Tools

Site Tools


website_speed

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
Example output
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK

real	0m0.451s
user	0m0.090s
sys	0m0.052s

Investigating timeouts
Use the following command, run it from servers in different regions

time curl -sILk -X GET https://lukeslinux.co.uk
Output:
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

website_speed.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1

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