Salesforce Certified Platform Developer II — Question 105

A Visualforce page loads slowly due to the large amount of data it displays.
Which strategy can a developer use to improve the performance?

Answer options

Correct answer: C

Explanation

The correct answer is C because lazy loading allows data to be fetched only when necessary, improving load times and performance. Option A may reduce server load, but it doesn't address the initial page load issue. Option B only affects the lifespan of variables during a request and doesn't impact performance significantly, while option D would still attempt to load all data, which doesn't solve the slow loading problem.