- Backend: FastAPI app with all models, services, schemas, routes - Admin Panel: Next.js dashboard with all modules (CRM, POS, repairs, warranties, billing, notifications, etc.) - Ecommerce: storefront (submodule) + product catalog - AI Agents: .agents/ skill library for Antigravity IDE - Docs: architecture, billing, notification gateway markdown - Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
7 lines
424 B
Markdown
7 lines
424 B
Markdown
# ADR-005: Caching Architecture & Price Invalidation
|
|
|
|
## Context
|
|
High-frequency reads (product details, carts, user sessions) require sub-50ms caching.
|
|
|
|
## Decision
|
|
Deploy **Redis Cluster**. Caches product metadata (`TTL=1 hour`), active carts (`TTL=7 days`), and session tokens (`TTL=15 mins`). All price calculations enforce mandatory server-side recalculation during checkout validation to prevent cache-tampering risks.
|