Based on the techniques from this article https://www.debugbear.com/blog/shared-compression-dictionaries#:~:text=Static%20compression%20(also%20known%20as,header%20during%20a%20previous%20session. Brotli is able to use a dictionary file to pre-load common patterns and use it to increase efficiency of compression.
I know this can be done through the Brotli cli in these docs https://github.com/google/brotli/blob/master/c/tools/brotli.md, does this library support this feature?