Friday, March 26, 2010

CacheManager dll to control the Caching on ASP.NET

CacheManager.v1.0.60115.01 Download

Ref: http://aspalliance.com/

Copy AspAlliance.CacheManager.dll to your application's /bin folder.
Modify your web.config to include an section with the following element:


<httphandlers>

<add verb="*" path="CacheManager.axd" type="AspAlliance.CacheManager.CacheManagerPageFactory,AspAlliance.CacheManager">

</httphandlers>



refer through http://localhost/cachemanager.axd

NOTE:
1. If we dont need Viewstate for large gridviews disable it. It will give lot performance again. and enabling Caching (1sec) for the page gives is awesome and not always.
2. Make use of cache profile in Outputcache while declaring it from the web.config file.
3. sqldependency on the database to enhance caching ways. sqldependency is imposed on the tables so that when ever there is update happening on the table its will directly show on the web page even though caching set to take from the system cache. This can be done using aspnet_resql.

3.

No comments:

Post a Comment