Browsed by
Author: priya

What are the different types of caching?

What are the different types of caching?

ASP.NET has 3 kinds of caching : Output Caching, Fragment Caching, Data Caching. In ASP.NET, caching plays a crucial role in improving application performance and scalability. There are several types of caching available: Output Caching: This type of caching stores the generated output of a web page or user control so that the server can serve subsequent requests without regenerating the content. It’s particularly useful for pages that are relatively static or have content that doesn’t change frequently. Data Caching:…

Read More Read More

What is the difference between Server.Transfer and Response.Redirect?

What is the difference between Server.Transfer and Response.Redirect?

In Server.Transfer page processing transfers from one page to the other page without making a round-trip back to the client’s browser. This provides a faster response with a little less overhead on the server. The clients url history list or current url Server does not update in case of Server.Transfer Response.Redirect is used to redirect the user’s browser to another page or site. It performs trip back to the client where the client’s browser is redirected to the new page….

Read More Read More