Home - Kudosindia    CREATING SOFTWARE ASSETS








  Home

  Company

  Technologies

  Services

  Portfolio

  Process

   Data Warehousing

  Contact Us





CONTACT US

124,Vaishali Industrial Premises No.2, Mhatrewadi, Dahisar(W), Mumbai-400068. India.



info@kudos-india.com

Quick Response Form





HOME >> TECHNOLOGY >>ASP.NET 2.0

In addition, a developer can now use post-cache substitution to replace part of the cached content with refreshed content. Post-cache substitution allows an application to use page level caching even if part of the page should be dynamically generated.

Database Cache Invalidation:

For most data-driven Web sites, caching can be a thorny topic, especially when a situation demands the need for caching and the necessity of up to date data. In ASP.NET 1.x, pages could be cached for a length of time and organized by input parameters (querystring or POST parameters):

EXAMPLE:

<%@ outputcache duration="3600" varybyparam="PRodID" %>

The code in Listing 5 caches a page in memory for one hour based on the variable ProdID. The problem that arises in the above example is what to do if relevant business data is updated elsewhere. For example, consider a product catalog page cached by product ID. If information about this product (quantity available or price, for example) is updated from an administrative site, incorrect data is cached and displayed to customers. With the previous version of ASP.NET, the solution to this problem would require either manually removing the page from cache using Response.RemoveOutputCacheItem, or waiting until the duration time expires and allowing the system to update the page automatically.

 
« BACK   NEXT »
Need more answers; Search Google



PROCESS

Kudosindia follows a structured development process adhering to timelines, thus reducing overall cost of the project. Read More...

PORTFOLIO
E-commerce gifting site
B2B convergence portal

SERVICES

Software Development

E-commerce Solutions

Offshore Developemnt

I.T.Outsourcing
© Copyright 2007
kudos-india

HOME   |   SITEMAP