Abstract
Caching is the technique of storing an in-memory copy of some information that’s expensive to create. For example, you could cache the results of a complex query so that subsequent requests don’t need to access the database at all. Instead, they can grab the appropriate object directly from server memory—a much faster proposition. The real beauty of caching is that unlike many other performance-enhancing techniques, caching bolsters both performance and scalability. Performance is better because the time taken to retrieve the information is cut down dramatically. Scalability is improved because you work around bottlenecks such as database connections. As a result, the application can serve more simultaneous page requests with fewer database operations.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2009 Matthew MacDonald, Mario Szpuszta, and Vidya Vrat Agarwal
About this chapter
Cite this chapter
(2009). Caching and Asynchronous Pages. In: Pro ASP.NET 3.5 in VB 2008. Apress. https://doi.org/10.1007/978-1-4302-1631-5_11
Download citation
DOI: https://doi.org/10.1007/978-1-4302-1631-5_11
Publisher Name: Apress
Print ISBN: 978-1-4302-1630-8
Online ISBN: 978-1-4302-1631-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books