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

Cache Invalidation Process

Arrange invalidation strategies from simplest to most complex:

Items to put in order

  • Manual delete - removing key after change
  • Event-driven - pub/sub notification about changes
  • TTL expiration - cache expires after time
  • Pattern-based - removing a group of keys by pattern

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