InterviewBuddy
All interview questions

How do you choose a rendering strategy?

Intermediate

Answer

Choose based on freshness, personalization, and cost. Shared stable pages can be prerendered or cached. Request-specific content needs request-time handling and careful cache isolation.

Explanation

Do not cache private user data globally. Next.js caching behavior depends on its version and configuration; make the intended freshness explicit.

Example

Public documentation: shared cache
Private interview dashboard: user-scoped data