We use Qt's built in zlib compression on the fastest setting (it was found that higher compression took 5x as long with a negligible decrease in size). This helps keep disk cache sizes low.
This is a singleton class that will manage the disk cache to ensure the size stays at sane levels.