Skip to content

Instantly share code, notes, and snippets.

@cfebs
Last active June 13, 2018 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cfebs/422db8a678772c68477a973e47088231 to your computer and use it in GitHub Desktop.
Save cfebs/422db8a678772c68477a973e47088231 to your computer and use it in GitHub Desktop.
$ time curl -v -H'Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-ssl-client-session-id, ak
amai-x-get-true-cache-key, akamai-x-get-request-id' https://secure-a.vimeocdn.com/js/froogaloop2.min.js >/dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 23.192.55.218...
* TCP_NODELAY set
* Connected to secure-a.vimeocdn.com (23.192.55.218) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [219 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [108 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2813 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
* subject: C=US; ST=New York; L=New York; O=Vimeo, Inc; OU=Akamai SAN SSL OV; CN=secure.vimeocdn.com
* start date: Apr 6 00:00:00 2018 GMT
* expire date: May 6 12:00:00 2019 GMT
* subjectAltName: host "secure-a.vimeocdn.com" matched cert's "secure-a.vimeocdn.com"
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
* SSL certificate verify ok.
} [5 bytes data]
> GET /js/froogaloop2.min.js HTTP/1.1
> Host: secure-a.vimeocdn.com
> User-Agent: curl/7.58.0
> Accept: */*
> Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-get-request-id
>
{ [5 bytes data]
< HTTP/1.1 200 OK
< Server: Apache
< Last-Modified: Wed, 09 May 2018 17:23:30 GMT
< ETag: "606-56bc9295b4880"
< Timing-Allow-Origin: *
< Content-Type: text/javascript; charset=utf-8
< Cache-Control: max-age=2502121
< Expires: Thu, 12 Jul 2018 15:49:33 GMT
< Date: Wed, 13 Jun 2018 16:47:32 GMT
< Content-Length: 1542
< X-Cache: TCP_MEM_HIT from a208-185-55-89.deploy.akamaitechnologies.com (AkamaiGHost/9.3.2.1.2-22651135) (-)
< X-Cache-Key: S/=/1944/318186/30d/origin-assets.vimeo.com/js/froogaloop2.min.js
< X-True-Cache-Key: /=/origin-assets.vimeo.com/js/froogaloop2.min.js
< Connection: keep-alive
< X-Check-Cacheable: YES
< X-Akamai-Request-ID: 11a00386
<
{ [1542 bytes data]
100 1542 100 1542 0 0 4405 0 --:--:-- --:--:-- --:--:-- 4405
* Connection #0 to host secure-a.vimeocdn.com left intact
real 0m0.366s
user 0m0.024s
sys 0m0.005s
$ time curl -v -H'Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-get-request-id' https://secure-a.vimeocdn.com/js/froogaloop2.min.js >/dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 104.88.52.243...
* TCP_NODELAY set
* Connected to secure-a.vimeocdn.com (104.88.52.243) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [219 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [108 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2813 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
* subject: C=US; ST=New York; L=New York; O=Vimeo, Inc; OU=Akamai SAN SSL OV; CN=secure.vimeocdn.com
* start date: Apr 6 00:00:00 2018 GMT
* expire date: May 6 12:00:00 2019 GMT
* subjectAltName: host "secure-a.vimeocdn.com" matched cert's "secure-a.vimeocdn.com"
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
* SSL certificate verify ok.
} [5 bytes data]
> GET /js/froogaloop2.min.js HTTP/1.1
> Host: secure-a.vimeocdn.com
> User-Agent: curl/7.58.0
> Accept: */*
> Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-get-request-id
>
0 0 0 0 0 0 0 0 --:--:-- 0:00:24 --:--:-- 0{ [5 bytes data]
< HTTP/1.1 200 OK
< Server: Apache
< Last-Modified: Wed, 09 May 2018 15:03:14 GMT
< ETag: "606-56bc733b95080"
< Timing-Allow-Origin: *
< Content-Type: text/javascript; charset=utf-8
< X-Akamai-SSL-Client-Sid: CH5GddJbYFAMc6/0gsduVA==
< X-Akamai-Request-ID: d3c3f6.12ab25d
< Cache-Control: max-age=2592000
< Expires: Fri, 13 Jul 2018 16:49:03 GMT
< Date: Wed, 13 Jun 2018 16:49:03 GMT
< Content-Length: 1542
< X-Cache: TCP_REFRESH_MISS from a165-254-123-191.deploy.akamaitechnologies.com (AkamaiGHost/9.3.4.1-22715840) (S)
< X-Cache-Key: S/=/1944/318186/30d/origin-assets.vimeo.com/js/froogaloop2.min.js
< X-True-Cache-Key: /=/origin-assets.vimeo.com/js/froogaloop2.min.js
< X-Akamai-SSL-Client-Sid: K2CFjqm0gN3KxmwZ8O84jw==
< Connection: keep-alive
< X-Cache-Remote: TCP_REF_FAIL_HIT from a165-254-123-76.deploy.akamaitechnologies.com (AkamaiGHost/9.3.4.1-22715840) (S)
< X-Check-Cacheable: YES
<
{ [1542 bytes data]
100 1542 100 1542 0 0 61 0 0:00:25 0:00:25 --:--:-- 391
* Connection #0 to host secure-a.vimeocdn.com left intact
real 0m25.243s
user 0m0.029s
sys 0m0.012s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment