Corrects bug with using compress and staticCache together.