Next.js · Senior · Question 58 of 75

Where do you plug in a shared cache store (e.g. Redis) for 'use cache' when self-hosting?

Explanation

Custom handlers let several instances share 'use cache' / 'use cache: remote' entries and tag invalidation instead of each pod keeping its own memory cache.

Further reading

Problem with a question

Next.js · Senior · question 58

Test yourself

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

Take this quiz