Cache doesn't seem to be working correctly