What Is Caching?
Caching isn't a new term to developers, but, historically, caching dynamic Web pages hasn't been a very easy or manageable task. Caching is the method of saving data of any kind in memory. When the cached data is needed, instead of re-creating the data, the application provides it to the client or requestor from the in-memory version of the data. The in-memory data is referred to as the cached version. The data can range from a letter in the alphabet to a complete Web page.
Implementing caching in your application increases performance because you can serve Web pages to clients without having to re-create the pages on every request. For instance, if you have a page that is dynamically built through a database query, but the data ...
Get Programming Data-Driven Web Applications with ASP.NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.