Question · Next.js course · Module 5: Rendering Strategies

The unstable_cache function in Next.js

What is unstable_cache used for in Next.js App Router?

Answer options

  • Caching results of database queries and API calls on the server
  • Caching CSS styles for faster rendering
  • Caching compiled JavaScript files
  • Caching user session data in cookies

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