Skip to content

Instantly share code, notes, and snippets.

@jklein
Last active August 29, 2015 14:08
Show Gist options
  • Save jklein/2503e35decf3516fa6c1 to your computer and use it in GitHub Desktop.
Save jklein/2503e35decf3516fa6c1 to your computer and use it in GitHub Desktop.
Fastly GZIP CSS
~$curl -k -H "Host: www.etsy.com" -H "Accept-Encoding: gzip, deflate" -v "https://global-ssl.fastly.net/assets/dist/css/base.20141024160711.edge.css" -v > /dev/null
* Adding handle: conn: 0x7fa671004000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fa671004000) send_pipe: 1, recv_pipe: 0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to global-ssl.fastly.net port 443 (#0)
* Trying 23.235.39.184...
* Connected to global-ssl.fastly.net (23.235.39.184) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
* Server certificate: *.a.ssl.fastly.net
* Server certificate: DigiCert High Assurance CA-3
* Server certificate: DigiCert High Assurance EV Root CA
> GET /assets/dist/css/base.20141024160711.edge.css HTTP/1.1
> User-Agent: curl/7.30.0
> Accept: */*
> Host: www.etsy.com
> Accept-Encoding: gzip, deflate
>
< HTTP/1.1 200 OK
< Date: Mon, 27 Oct 2014 19:31:43 GMT
* Server Apache is not blacklisted
< Server: Apache
< Last-Modified: Mon, 27 Oct 2014 15:25:55 GMT
< Content-Encoding: gzip
< Cache-Control: max-age=94670800
< Content-Type: text/css
< Content-Length: 30757
< Accept-Ranges: bytes
< Via: 1.1 varnish
< Age: 12195
< X-Served-By: cache-atl6225-ATL
< X-Cache: HIT
< X-Cache-Hits: 1986
< X-Timer: S1414438303.841936,VS0,VE0
< Vary: Accept-Encoding
<
{ [data not shown]
100 30757 100 30757 0 0 39224 0 --:--:-- --:--:-- --:--:-- 39230
* Connection #0 to host global-ssl.fastly.net left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment