AssetSync / asset_sync

Synchronises Assets between Rails and S3
1.88k stars 346 forks source link

Add brotli support #435

Closed fengb closed 11 months ago

fengb commented 11 months ago

Brotli has been gaining browser support (96% of users). This adds a flag that enables uploading brotli compressed files in addition to gzip.

There are 2 commits:

  1. add the functionality with minimal rearchitecting
  2. refactor to have a more standardized path for multiple compression schemes
PikachuEXE commented 11 months ago

I will update the README a bit before releasing

PikachuEXE commented 11 months ago

I have just updated README in https://github.com/AssetSync/asset_sync/commit/8550c9def26966f6a70af093c805f4093c0c4ee3

Please help me review the README to see if there still any outdated/strange places about compression/gzip_compression