[CDF-26234] 🦋 Improve upload of asset-centric (#2189)

# Description

Adding preloading of cache for looking up internal IDs.

## Changelog

- [x] Patch
- [ ] Skip

## cdf

### Improved

- [alpha] The command `cdf data upload` is now much faster for events,
files, and timeseries

## templates

No changes.
