What is the best wa...
 
Notifications
Clear all

What is the best way to implement this?

1 Posts
1 Users
0 Likes
27 Views
Octavio
(@katterjohnoctavio)
Noble Member
Joined: 7 months ago
Posts: 361
Topic starter  

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 . Decorate the server-side method with @AuraEnabled(storable=true).
  • D . Call the setStorable() method on the action in the JavaScript client-side code.

Show Answer Hide Answer

Suggested Answer: A

   
Quote
Share: