Closed
Bug 1196781
Opened 10 years ago
Closed 10 years ago
Gzip static assets
Categories
(Socorro :: Infra, task)
Socorro
Infra
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Assigned: peterbe)
Details
Attachments
(4 files)
E.g.
:~$ curl --compressed -v https://crash-stats.mozilla.com/static/CACHE/css/a83940f68d6f.css > /dev/null
* Hostname was NOT found in DNS cache
% 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 54.191.207.216...
* Connected to crash-stats.mozilla.com (54.191.207.216) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
* Server certificate: crash-stats.mozilla.com
* Server certificate: DigiCert SHA2 Extended Validation Server CA
* Server certificate: DigiCert High Assurance EV Root CA
> GET /static/CACHE/css/a83940f68d6f.css HTTP/1.1
> User-Agent: curl/7.37.1
> Host: crash-stats.mozilla.com
> Accept: */*
> Accept-Encoding: deflate, gzip
>
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Content-Type: text/css
< Date: Thu, 20 Aug 2015 15:24:05 GMT
< ETag: "55d4ab89-6b3c"
< Last-Modified: Wed, 19 Aug 2015 16:15:05 GMT
* Server nginx/1.6.3 is not blacklisted
< Server: nginx/1.6.3
< Content-Length: 27452
< Connection: keep-alive
<
Contrast with one where it's set up:
:~$ curl --compressed -v http://d1ac1bzf3lrf3c.cloudfront.net/static/CACHE/js/70857ab852bd.js > /dev/null
* Hostname was NOT found in DNS cache
% 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 54.192.207.9...
* Connected to d1ac1bzf3lrf3c.cloudfront.net (54.192.207.9) port 80 (#0)
> GET /static/CACHE/js/70857ab852bd.js HTTP/1.1
> User-Agent: curl/7.37.1
> Host: d1ac1bzf3lrf3c.cloudfront.net
> Accept: */*
> Accept-Encoding: deflate, gzip
>
< HTTP/1.1 200 OK
< Content-Type: application/x-javascript
< Transfer-Encoding: chunked
< Connection: keep-alive
* Server nginx/1.4.6 (Ubuntu) is not blacklisted
< Server: nginx/1.4.6 (Ubuntu)
< Date: Mon, 10 Aug 2015 21:33:11 GMT
< Last-Modified: Wed, 05 Aug 2015 16:44:34 GMT
< Expires: Thu, 31 Dec 2037 23:55:55 GMT
< Cache-Control: max-age=315360000
< Cache-Control: public
< Content-Encoding: gzip
< Age: 841889
< Vary: Accept-Encoding,Accept-Encoding
< X-Cache: Hit from cloudfront
< Via: 1.1 e9251d77b367b673c32e205943143563.cloudfront.net (CloudFront)
< X-Amz-Cf-Id: jXuguDlUVQ-lMwJSpnltrogsfa3ohHWVNlA9Sv7fWF0orN4d9LksqA==
<
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → peterbe
| Assignee | ||
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro-infra
https://github.com/mozilla/socorro-infra/commit/d064aebfafe6464fde69d8022c1b7a6287622c3b
fixes bug 1196781 - Gzip static assets
https://github.com/mozilla/socorro-infra/commit/53587a3a976b3a439a4e9f3d8d09047443b97f3f
Merge pull request #212 from peterbe/bug-1196781-gzip-static-assets
fixes bug 1196781 - Gzip static assets
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 3•10 years ago
|
||
| Assignee | ||
Comment 4•10 years ago
|
||
| Assignee | ||
Comment 5•10 years ago
|
||
| Assignee | ||
Comment 6•10 years ago
|
||
Note. Same 38 requests but instead of 579.3kB it's now 318.3kB to load the home page :)
Comment 7•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro-infra
https://github.com/mozilla/socorro-infra/commit/e101fc7926d6d2ab852cd8f691bc3a3879eceb6d
Fix bug 1196781 - root nginx location fix
https://github.com/mozilla/socorro-infra/commit/02418fb78533ace3f9295b1eefa46b4dc2ad1deb
Merge pull request #214 from jdotpz/fix_bug_1196598
Fix bug 1196781 - root nginx location fix
You need to log in
before you can comment on or make changes to this bug.
Description
•