Support pre-compressed content (i.e. *.gz) in GitLab Pages
HTML/CSS/JS/etc. content is served from GitLab Pages without any compression. It would be great if compression were supported, and I would really like to see support for pre-compressed content (like Nginx's gzip_static).
To enumerate the features requested:
- Support serving compressed content with
Content-Encoding: gzip. - Support pre-compressed content. For example, imagine a file
index.htmland its gzip-compressed companionindex.html.gz. The only solution I'm envisioning is similar to Nginx'sgzip_static, where a request for$FILEwill result in$FILE.gzbeing used if it exists. So a request forindex.htmlwill returnindex.html.gz.