cache: setting total_size