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
hard
Next.js
Why might in-memory "use cache" entries behave differently in a serverless environment versus a self-hosted server?
A
There's no difference between the two
B
Serverless instances may not persist memory across requests (a different instance can handle each request), so cache entries may not survive between calls; self-hosted servers keep memory persistent across requests
C
Serverless is always faster regardless of caching
D
Self-hosted servers don't support "use cache" at all
Check Answer