Full Refresh, Delta Refresh, or Cache?
A technical decision framework for integrating large API datasets with spreadsheets while checking data correctness, not just apparent speed.
Origin: November 14, 2024 · Technical pattern
When a spreadsheet feels slow, switching between VBA and Power Query is only one possible answer.
Often the larger question is what data needs to travel at all.
Three approaches
| Strategy | What it does | Main advantage | Main risk | |---|---|---|---| | Full refresh | Requests all available records again | Conceptually simple and potentially reconciles changes | Repeated transfer and processing cost | | Incremental refresh | Requests records changed since a reliable checkpoint | Less redundant transfer when changes are small | Missed updates if checkpoints or API semantics are wrong | | Local cache | Reuses previously stored records and refreshes under defined rules | Fast access between refreshes | Stale or inconsistent information |
These are alternatives to evaluate, not guaranteed performance rankings. Some systems combine them: a baseline full load, incremental refreshes, then periodic reconciliation.
What must be true for a delta refresh?
The source must provide a trustworthy way to identify changes. A creation date alone may not capture later edits or deletions. A page number is not necessarily a stable ordering.
A safe design needs to handle retries without duplicating items, a lost connection without silently skipping data, and changes that arrive while the refresh is running.
If the API doesn't expose enough information to do this reliably, a full refresh or a different storage approach may be safer.
Keep the display separate from source truth
Excel can be the place where I analyze and present a subset of the information. It doesn't have to be the only long-term store for every record.
A local dataset with stable identifiers can support multiple workbook views, but it also creates maintenance obligations: versioning, validation, backups and reconciliation with the actual source.
Before choosing tools, decide what should be stored, how it can be updated and which copy is authoritative.
A practical comparison test
With synthetic, non-sensitive data, test four situations: first load, no-change refresh, changed-record refresh, and recovery after a failed request.
For each test, compare the final record count and identifiers against the expected result. Measure elapsed time and transfer size separately.
Don't call a refresh faster when it quietly returns fewer records.
This framework came from a November 2024 design discussion comparing spreadsheet/API options. It is not a measured benchmark or proof that a production incremental-sync system was deployed.
The fastest refresh is only useful if I can still trust the data.