hiexam
salesforce · Certified-Platform-Developer-II · Q602 · multiple_choice · topic_1

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

A Visualforce page loads slowly due to the large amount of data it displays. Which strategy can a developer use to improve the performance?
  • A.Use Javascript to move data processing to the browser instead of the controller.
  • B.Use the transient keywords for the List variables used in the custom controller.
  • C.Use lazy loading to load the data on demand, instead of the controller's constructor.
  • D.Use an <apex:actionPoller> in the page to load all of the data asynchronously.
Explanation
It is C. Your talking about the viewstate which is different .https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_best_practices_performance.htm

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.