--- title: "Top Caching Strategies" description: "Explore the top caching strategies to optimize system performance." image: "https://assets.bytebytego.com/diagrams/0129-caching-strategy.jpg" createdAt: "2024-03-12" draft: false categories: - caching-performance tags: - "caching" - "performance" --- ![caching strategy](https://assets.bytebytego.com/diagrams/0129-caching-strategy.jpg) Read data from the system: * **Cache aside** * **Read through** Write data to the system: * **Write around** * **Write back** * **Write through** The diagram above illustrates how those 5 strategies work. Some of the caching strategies can be used together. I left out a lot of details as that will make the post very long. Feel free to leave a comment so we can learn from each other.