ThoughtWorksInc / lein-s3-static-deploy

Lein task to deploy static website to s3 bucket.
Eclipse Public License 1.0
17 stars 4 forks source link

gzip #3

Open ioRekz opened 8 years ago

ioRekz commented 8 years ago

I would like to add gzip support because my clojurescripts assets are quite big :(.

I think it's not possible with the sync command so I would have to upload every file one by one setting the content-encoding to gzip.

I would still need to gzip all the files locally but I want to be sure something like this can be done.

Any recommendation, pointers ?

petergillardmoss commented 8 years ago

Hello,

This plugin is mainly a wrapper around s3-sync[1] with some additional rules around configuring the s3 bucket correctly.

I'd recommend raising a feature request to support gzip content encoding as part of the s3-sync project. We can then update to the latest library.

Thanks [1] https://github.com/kanej/lein-s3-sync/tree/master/