add persistent mime caching