CodeZettaInterview Hub

Next.js · Caching · Senior · Architecture

How do cache tags design for a commerce site?

Short Interview Answer

Tag by entity and relationships: product, category, collection; invalidate the minimal set on publish.

Detailed Explanation

Avoid one mega-tag that busts everything. Document tag ownership. Combine with path revalidation for critical URLs.

Did you know this answer?