Salesforce Certified Platform Developer II — Question 103

A customer has a single Visualforce page that allows each user to input up to 1500 sales forecasts and instantly view pivoted forecast calculations. Users are complaining that the page is loading slowly, and they are seeing error messages regarding heap and view state limits.
What are three recommendations to optimize page performance? (Choose three.)

Answer options

Correct answer: A, B, C

Explanation

The correct answers A, B, and C focus on optimizing the Visualforce page's performance by reducing the load on the view state and heap size. Separating calculations from inputs (A) minimizes processing during input, marking the list as transient (B) prevents unnecessary data storage, and implementing pagination (C) limits the numbers of records processed at once. Options D and E do not directly address the heap and view state limits affecting performance in this scenario.