NestJS · Senior · Question 50 of 75

How would you implement response caching that varies by user in Nest?

Explanation

The default key is based on the URL. Caching personalized responses under a shared key leaks data.

Further reading

Problem with a question

NestJS · Senior · question 50

Test yourself

Take the NestJS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz