PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

A.
VaryByCustom=”browser”

B.
VaryByCustom=”User-Agent”

C.
VaryByHeader=”browser”

D.
VaryByHeader=”User-Agent”


Leave a Reply