Group Discounts available for 3+ students and Corporate Clients

Caching in vb.net

Caching:

Whenever the client sends a reqiuest for the first time then ASP>Net will process the request and the result will be maintained as a cache content such that for further clients request the response will be provided from cache.

 

Note:

  • Whenever the cache content is maintained on Web server then it is said to be ServerSide caching.
  • Whenever the cache content is maintained on client System then it is said to be client side caching.
  • Net sets client side cache content implicitly for all web forms.
  • In order to kill the cache content at client systemthen “Response.Express = -1;” should be used.

 

Server side caching:

Whenever the cache content is maintained at web server then it is said to be server side caching.

 

 

ASP.Net supports following server side cache concepts:

  • Page output cache
  • Page fragmentation cache
  • Substitution cache
  • Data cache
  • Output caching [ASP.Net 4.0]

Page Output Cache:

Whenever the client sends a request for first time then the entire page output will be maintained as cache content such that for further clients request without processing the response will be provided from cache.

To set: [In ASPX page]

< % @ Output cache

Duration = “Seconds” varyBy Param = “ Control Name|Variable | none” . . .% >

 

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Caching in vb.net"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Support


    Please Enter Your Details and Query.
    Three + 6