senior5 zgłoszeń
Jak działa caching w Next.js App Router?
Cztery warstwy: Request Memoization (deduplikacja fetch), Data Cache (persisted), Full Route Cache (statyczny HTML/RSC), Router Cache (klient). Kontrola: cache: 'no-store', revalidate, revalidatePath/Tag. Fetch cache agresywny domyślnie — wymaga świadomego zarządzania.