Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 7 Question 5 Discussion
A Developer wishes to improve runtime performance of Apex calls by caching results on the client. What is the best way to implement this?
D) Call the setStorable() method on the action in the JavaScript client-side code.
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) Decorate the server-side method with @AuraEnabled(storable=true).
Donette
7 months agoYolande
7 months agoNichelle
7 months agoWillodean
8 months agoAltha
8 months agoJosephine
8 months agoKirby
8 months agoJoana
8 months agoRolland
8 months agoLajuana
8 months agoStephen
8 months ago