Which attribute should you add to the OutputCache directive?

You are developing an ASP.NET Web application. The application will contain a page that is
customized for various browsers. The application will use output caching to optimize performance.
You need to ensure that the page is cached by browser type and major version only. Which attribute
should you add to the OutputCache directive?

You are developing an ASP.NET Web application. The application will contain a page that is
customized for various browsers. The application will use output caching to optimize performance.
You need to ensure that the page is cached by browser type and major version only. Which attribute
should you add to the OutputCache directive?

A.
VaryByCustom=”browser”

B.
VaryByCustom=”User-Agent”

C.
VaryByHeader=”browser”

D.
VaryByHeader=”User-Agent”



Leave a Reply 0

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