Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to turn off gzip compression when deploying to AWS? #273

Open
nathan-artist opened this issue Aug 22, 2017 · 1 comment
Open

Comments

@nathan-artist
Copy link

When using cactus deploy to deploy to AWS S3, the files are uploaded (and served by S3) with Content-Encoding: gzip, which is not compatible with some older browsers (see, e.g., Which browsers can handle 'Content-Encoding:'?). Is there a way to turn off gzip compression when deploying, to preserve compatibility with older browsers?

@nathan-artist
Copy link
Author

Since I don't know the answer to this question, my current (rather stupid) workaround is to run cactus deploy to deploy to AWS S3; then, using an S3 client, I delete all the files in the S3 bucket and re-upload all the files in the local .deploy folder, again using the S3 client. It's a supremely stupid workaround, but I don't know how to stop cactus from gzipping the files.

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

No branches or pull requests

1 participant