What is the most efficient way to implement this and follow best practices?
A developer wants to improve runtime performance of Apex calls by caching result on the client.
What is the most efficient way to implement this and follow best practices?
A . Decorate the server-side method with @AuraEnabled (total-true).
B. Call the setStoeable () method on the action in the javaScript client-sidecode.
C. Decorate the server-side method with @AuraEnabled (cacheable-true.
D. Set a ciikie in the browser for use upon return to the page.
Answer: C
Latest PDI Practice Questions with 191 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments