Hacker News new | past | comments | ask | show | jobs | submit login
My internship: Brotli compression using a reduced dictionary (cloudflare.com)
7 points by jgrahamc on Nov 11, 2020 | hide | past | favorite | 1 comment



> In order to provide a more specialized dictionary, we provide the compressor with a content type hint from our servers, relying on the Content-Type header to tell the compressor if it should use a dictionary for HTML, JavaScript or CSS

That's quite clever, almost seems obvious now someone else has said it!

> The radix trie is responsible for finding the word while the hash table and bloom filter are used to speed up the radix trie and quickly eliminate many words

Huh. I've never looked into how Brotli works, but I would have assumed it already used both these techniques.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: