Thursday 15 December 2011

ASP.NET – Client-side Caching

The performance of an ASP.NET application can certainly be improved if the data – which is accessed frequently and requires comparatively more time to create – is stored somewhere. To increase the performance of an application in these kind of situations, ASP.NET provides data caching using two basic mechanisms.

1.    Application Cache
It is used to store the arbitrary data in memory. It is very similar to using the application state. The data here in nature is more volatile, means that it is stored temporarily only at the specified location. The ASP.NET programmers can also configure application caching to notify your application.

2.    Page Output Cache
This type of caching is typically used for server applications and it enables the ASP.NET programmers to store the rendered HTML directly. This stored HTML is served in response to the subsequent requests for the same page. It enables one to cache the mobile version of the page too.  As compared to the application caching, the output caching can be customized that can store data on any data storage device.

Apart from this 2, there also can be the 3rd type of caching called as Fragment Caching. This is used to cache the information at a structure level.

At SPEC INDIA, our trained team of ASP.NET professionals takes care of all the requirement of Clients pertaining to the customized development of the software or a website. You can always send your enquiries at our email id lead@spec-india.com. We will be happy to assist you with all our knowledge base.

No comments:

Post a Comment