prepare data cache