Code-Memo

Caching Strategies

1. What is Caching

a. How does Caching Work?

b. Benefits of Caching:

c. Types of Caches:

2. Caching Strategies

a. Cache Aside (Lazy Loading):

b. Write Through Cache:

c. Write Behind (Write Back) Cache:

d. Read Through Cache:

e. Time-Based Expiration (TTL - Time To Live):

f. Least Recently Used (LRU):

g. Most Recently Used (MRU):

h. Adaptive Caching:

3. How to Choose a Caching Strategy

a. Factors to Consider:

b. Performance Metrics: