Skip to content
This repository has been archived by the owner. It is now read-only.

Serve DocumentCloud JavaScript/CSS gzipped #207

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

Serve DocumentCloud JavaScript/CSS gzipped #207

paulschreiber opened this issue May 12, 2015 · 3 comments

Comments

@paulschreiber
Copy link

paulschreiber commented May 12, 2015

The DocumentCloud resources served on S3 are currently not gizpped.

Examples:

Please serve them gzipped.

@knowtheory
Copy link
Member

knowtheory commented May 13, 2015

also see #193

@paulschreiber
Copy link
Author

paulschreiber commented May 13, 2015

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 Server DocumentCloud JavaScript/CSS gzipped Serve DocumentCloud JavaScript/CSS gzipped May 13, 2015
reefdog added a commit that referenced this issue Nov 4, 2015
reefdog added a commit that referenced this issue Nov 6, 2015
* 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
@reefdog
Copy link
Contributor

reefdog commented Nov 6, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants