What is the purpose of setting Response.Buffer = True, Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0)), Response.Expires = 0, and Response.CacheControl = "no-cache" in a web application?

Choose the correct answer

Explanation

Setting these properties ensures that the web page is not cached by the browser or proxy servers. Response.Buffer = True enables buffering, Response.ExpiresAbsolute sets the expiration date to a past time, Response.Expires = 0 disables caching, and Response.CacheControl = "no-cache" instructs browsers not to cache the page.

What is the purpose of setting Response.Buffer = Tru… — ASP.net | PakQuizHub