Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Compress static assets. #240

Merged
merged 1 commit into from
Jun 4, 2015
Merged

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Jun 4, 2015

Serve compressed assets to clients that accept gzip encoding. This patch
uses a fork of flask-compress that caches compressed responses by SHA1
to avoid re-zipping files.

We may still want to offload this work to S3 / CloudFront in the future, but this is a quick implementation that should significantly reduce load times.

Serve compressed assets to clients that accept gzip encoding. This patch
uses a fork of flask-compress that caches compressed responses by SHA1
to avoid re-zipping files.
msecret pushed a commit that referenced this pull request Jun 4, 2015
@msecret msecret merged commit 1ab4146 into fecgov:develop Jun 4, 2015
@msecret msecret removed the plz-review label Jun 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants