Zstandard has very cool dictionary training feature, which allows to keep a separate dictionary and have a 50% ratio compression on very small (~100b) but repetitive data such as database records.
I've always thought it could be pretty cool to leverage that for transparent filesystem compression. For context, filesystem compression usually compresses blocks of data individually (for instance, every 64K block of a file will be individually compressed, and when you modify a file in the middle, that block needs to be recompressed entirely). This is usually good enough, and it has some pretty cool properties, like…
Trained dictionary is just meaningless but very frequent bits of data which may be referenced in that fashion as if they preceded the real data.