Both Brotli and ZSTD support speeding up compression with a set of external dictionaries, trained from sample data.
It would be nice if our API could be made aware that (a) there is a dictionary involved in the compression and (b) how to upload/download that dictionary from/to client to/from server.