Caching nyimpen data sing asring diakses ing lapisan cepet (asring ing memori) supaya bisa dijupuk kanthi cepet tanpa ngitung maneh utawa mudhun maneh saka sumber sing luwih alon. Iki minangka salah satuwise teknik sing paling penting kanggo nambahi performance lan scalability.
Apa sing ditindakake caching
CACHING stores copies of data in a FAST location for quick repeated access:
→ instead of recomputing or re-fetching from a slow source (database, API, computation),
serve from the fast cache
→ DRAMATICALLY faster (cache hit) + REDUCES load on the slow backend
→ trades some staleness/complexity for big performance and scalability gains.
