Exam4Training

What is the best way to implement this?

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).
B . Set a cookie in the browser for use upon return to the page.
C . Call the setStorable() method on the action in the JavaScript client-side code.
D . Decorate the server-side method with @AuraEnabled(storable=true).

Answer: C

Latest PDII Dumps Valid Version with 280 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version