Cache
Caching is the process of storing frequently accessed data in a temporary storage location, in order in quickly retrieve it without the need to query the data o…
Cache invalidation
Cache invalidation removes or updates cached data when its source changes. It is needed when waiting for the TTL to expire would leave data stale for too long. …
Caching Type
cache can happen at several layers. Using multiple layers reduces latency and prevents every request from reaching the origin database or service. Stores dat…
CDN
Content Delivery Network (CDN) is a distributed proxy server that cache website static content closer to users. This routing visitor requests to the nearest edg…
Caching Strategies
There are several cache strategies: - Refresh Ahead - Write-Behind - Write-through - Cache Aside Example: Product catalog pages, trending news feeds, sessio…