Complete the code to name the cache invalidation strategy that removes data after a fixed time.
The cache invalidation strategy that removes data after a fixed time is called [1].The Time-to-Live (TTL) strategy removes cached data after a set time expires.
Complete the code to name the strategy where cache is updated immediately when the database changes.
The cache invalidation strategy that updates cache immediately on database write is called [1].Write-through strategy updates the cache at the same time as the database write.
Fix the error in naming the cache invalidation strategy where cache is updated only on read miss.
The cache invalidation strategy where cache is updated only on read miss is called [1].Cache-aside loads data into cache only when a read misses the cache.
Fill both blanks to complete the cache invalidation description: "In {{BLANK_1}} strategy, database is updated {{BLANK_2}} after cache write."
In [1] strategy, database is updated [2] after cache write.
Write-back updates the database asynchronously after cache write completes.
Fill all three blanks to complete the cache invalidation rule: "If data is {{BLANK_1}}, cache must be {{BLANK_2}} or {{BLANK_3}}."
If data is [1], cache must be [2] or [3].
If data is stale, cache must be invalidated or refreshed to keep data fresh.