I want to serve the static files for my website from Google storage buckets. For that I want to compress the files, Thought of using Brotli compression but some browsers are not supporting Brotli compression. So they are suggesting to use gzip as a fallback.
I don't know If there is anyway to serve the files from google storage based on the browser support. for example if the browser supports brotli it should fetch the brotli version or it should fetch gzip.
How to achieve this?