Can I configure Object Storage to work with gzipped files?
Is there a way to configure my bucket to serve assets as gzip compressed for performance gain and save bandwidth?
1 Reply
Since the buckets themselves wouldn't have compression functionality, you will need to compress any files before uploading them to your Object Storage bucket. This would be the case for any S3 compatible storage solution, including Linode Object Storage. By compressing the files ahead of time, it should theoretically save on bandwidth since the files would be smaller by nature of the gzip file.
I found a script that someone wrote on how to use gzip compression and upload the compressed file to a target bucket:
How to store and retrieve gzip-compressed objects in AWS S3
And there are a couple other resources listed in this Stack Overflow post: