Hi! I’m planning on deploying a middleman site to Amazon S3 (via s3cmd), and have not found a good way to generate gzip’d text files that work well with a standard s3 configuration.
The core of the issue is that the middleman gzip extension emits files with a .gz suffix, but when using s3 without an additional server in between, there’s no opportunity to detect an accepts gzip header, and serve the .gz file instead of the normal uncompressed version.
What I’d like is to configure the gzip extension to emit gzip’d files without the .gz extension, and simply avoid hosting the uncompressed files on s3 altogether. I’m not interested in accommodating clients that don’t understand gzip.
Would an option like this be considered as a feature for the gzip extension, or should I look into other ways to implement this?
Thanks!