Suggested Answer:C🗳️
Scenario: When home.aspx is displayed, the rendered page must be cached for 10 minutes.
Page output caching - The output of an action method on a controller can be cached using the [OutputCache]attribute on the method. Actions methods that return views will have the rendered page cached, while methods returning JSON data will have that data saved. A number of properties on the OutputCacheAttribute class control how data is cached. CacheProfile- If a number of methods will have the same cache settings, it makes sense to use the web.config file to create a cache profile that can be used across all these methods. The Duration attribute of the CacheProfile determines how long, in seconds, the output should be cached. To save an item for 10 minutes, duration would be set to 600. [OutputCache(Duration=600)] References: http://failedturing.blogspot.se/2014/10/microsoft-70-486-design-caching-strategy.html
This section is not available anymore. Please use the main Exam Page.70-487 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
supersunny
Highly Voted 5 years, 6 months ago