My goals were to 1) get the server to serve Brotli compressed files, and 2) automate the compression process so I wouldn't have to compress future files manually every time there was a change.

Read on afasterweb.com