Put in order · NestJS course · Module 8: Caching and Performance

Cache Invalidation Process

Arrange the steps of the cache invalidation process from change detection to update:

Items to put in order

  • Detect data change in the source (DB)
  • Remove old data from cache (del)
  • Identify cache keys for invalidation
  • Fetch and save new data to cache

You can check the correct answer by solving this task in the CodeWorlds game.