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"

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.