change the way cache is handled