Salesforce Certified Platform Developer II — Question 53
A developer has built a multi-page wizard using a single Custom Controller to query and update data. Users are complaining that the pages are loading slowly.
What will improve performance? (Choose three.)
Answer options
- A. Reducing the view state
- B. Using actionRegion and rerender
- C. Turning off the standard stylesheet
- D. Setting the Apex Page attribute cache=true
- E. Using selective queries
Correct answer: A, D, E
Explanation
Reducing the view state decreases the amount of data sent between the server and client, which can enhance load times. Setting the Apex Page attribute cache=true allows for caching of the page, reducing server load and speeding up rendering. Using selective queries helps in fetching only the necessary data, improving performance. The other options either do not provide significant performance improvements or may negatively affect the user experience.