Attempt at fixing the loss of global cache data.