ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 15 - Certified Platform Developer II discussion

Report
Export

A Developer wishes to improve runtime performance of Apex calls by caching results on the client.

What is the best way to implement this?

A.
Decorate the server-side method with @AuraEnabled(cacheable=true).
Answers
A.
Decorate the server-side method with @AuraEnabled(cacheable=true).
B.
Set a cookie in the browser for use upon return to the page.
Answers
B.
Set a cookie in the browser for use upon return to the page.
C.
Decorate the server-side method with @AuraEnabled(storable=true).
Answers
C.
Decorate the server-side method with @AuraEnabled(storable=true).
D.
Call the setStorable() method on the action in the JavaScript client-side code.
Answers
D.
Call the setStorable() method on the action in the JavaScript client-side code.
Suggested answer: A
asked 23/09/2024
Mohsin Raza
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first