Questions tagged [storable-action]
The storable-action tag has no usage guidance.
5
questions
8
votes
3
answers
12k
views
Storable Action - System.LimitException: Too many DML statements: 1
@AuraEnabled(cacheable=true)
public static String deleteContacts(List<String> contactIds) {
List<Contact> returnList = new List<Contact> ();
String query = ' SELECT Id,Name, ...
7
votes
1
answer
520
views
Can we programatically verify the Lightning Component setStorable() cached actions?
I'm building a Lightning Component that relies on heavy pulling of data from server side. but also has Filters.
I was thinking to make use of setStorable() action for pulling data from Apex.
Now, ...
0
votes
1
answer
1k
views
aura storable actions not working as expected - client cache
I am trying to use storable actions. I am not getting expected results. As per the video from salesforce ,https://www.youtube.com/watch?v=G931jWBnxHU&t=758s, if a method is marked as storable, the ...
5
votes
1
answer
362
views
Storable actions and promises
From the salesforce promise documentation:
Don’t Use Storable Actions in Promises
The framework stores the
response for storable actions in client-side cache. This stored
response can ...
6
votes
1
answer
574
views
Lightning: Caching Actions Across Components
I have been using Storable Actions to help reduce the amount of identical calls that are going back to the server. Everything is working great but I have a question surrounding how this works across ...