Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

gzip compress files #4

Merged
merged 1 commit into from Sep 28, 2017
Merged

gzip compress files #4

merged 1 commit into from Sep 28, 2017

Conversation

jasonish
Copy link
Contributor

@jasonish jasonish commented Apr 5, 2017

Are you interested in adding compression? I took a stab at it, but am wondering if it should be a command line option?

@jasonish
Copy link
Contributor Author

Updated to pass unit tests and make as a command line option that defaults to off.

Reduces the size of my frontend (Angular) app from 31M to 7.1M which results in my final executable being reduced from 41M to 18M.

@markbates markbates merged commit 0dfae2a into gobuffalo:master Sep 28, 2017
@markbates
Copy link
Member

@jasonish sorry it took so long to get this merged in. I didn't realize the PR was here. I had to tweak it a little bit as it broke the public API, so I had to implement it in a way that didn't. It makes a huge difference. Thanks!

@jasonish jasonish deleted the compression branch January 3, 2018 21:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants