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 Dumps Valid Version with 191 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund