Serve DocumentCloud JavaScript/CSS gzipped #207

Closed
paulschreiber opened this Issue May 12, 2015 · 3 comments

Projects

None yet

3 participants

@knowtheory
Member

also see #193

@paulschreiber

As noted in #193, using CloudFront would get you this for free. I highly recommend using a CDN instead of S3.

@reefdog reefdog changed the title from Server DocumentCloud JavaScript/CSS gzipped to Serve DocumentCloud JavaScript/CSS gzipped May 13, 2015
@reefdog reefdog referenced this issue in documentcloud/document-viewer Sep 2, 2015
Closed

Viewer CSS and JavaScript aren't served gzip-compressed #47

@reefdog reefdog added a commit that referenced this issue Nov 4, 2015
@reefdog reefdog Disable gzipping loaders until serving gzip
Will reenable when #207
06a0de1
@reefdog reefdog added a commit that referenced this issue Nov 6, 2015
@reefdog reefdog Deploy compressed assets when able
* If an asset is on our compressable whitelist, then in its place, then either use the precompressed version of the asset (if available) or compress it
* Stop uploading `.gz` versions of things
* Include compressed version of viewer's print stylesheet now that it matters

Affects #207
7608676
@reefdog
Contributor
reefdog commented Nov 6, 2015

We're now serving CSS/JS gzipped. And there was much rejoicing.

@reefdog reefdog closed this Nov 6, 2015
@knowtheory knowtheory referenced this issue Dec 18, 2015
Closed

Switch to CloudFront's internal compression #320

2 of 2 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment