VaryByParam attribute in OutputCache directive - Caching pages and data
Q. What is the use of VaryByParam attribute in OutputCache directive?- Published on 27 Jul 15a. You can neglect VaryByParam attribute while using Page output caching.
b. The VaryByParam attribute determines which versions of the page output are actually cached.
c. The VaryByParam attribute determines which web page is cached in database.
d. None of the above.
ANSWER: The VaryByParam attribute determines which versions of the page output are actually cached.