DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Next.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Next.js
What does placing "use cache" at the TOP of a file (rather than inside one specific function) do?
A
Nothing different from function-level placement
B
Marks EVERY exported function in that file as cacheable — and every one of them must be async
C
Only caches the default export
D
Disables caching for the whole file
Check Answer