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

Cache Interceptor Configuration

Arrange the order of CacheInterceptor operations when handling an HTTP request:

Items to click

  • Check the key in cache
  • Execute the handler (if MISS)
  • Intercept the HTTP request
  • Return the response to the client
  • Save the result to cache

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