Multiple choice technology web technology

You are developing a web application that is retrieving historical library information from a database server and displays it to the users of your application. What cache strategy will give you the best performance?

  1. Use the output cache.

  2. Use the cache object.

  3. Use the ASP.NET central cache.

  4. Use the client cache

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

For caching historical library information retrieved from a database, using the Cache object provides the best performance. The Cache object allows explicit control over what data is cached, duration, and expiration policies. Output cache is for entire page responses, ASP.NET central cache is not a standard term, and client cache relies on browser caching which is less reliable for server-fetched data.