CodeZettaInterview Hub

Node.js · Scaling · Mid-Level · Best Practice

Caching strategies in Node services?

Short Interview Answer

HTTP cache headers, CDN, Redis for hot keys, and in-process LRU cautiously (per instance).

Detailed Explanation

Cache invalidation and stampedes matter. Don't cache personalized data publicly. Set TTLs and jitter.

Did you know this answer?