The meeting involved the State Changers troubleshooting some issues they encountered while working with an application. The main topic was a detailed discussion of data caching and list handling in an API within the Xano platform. Their goal was to properly set and retrieve cached values in a specific instance where they were adding fresh data to an existing list.
The main problem they faced was a failure to correctly append new entries to the end of a cached list. After several attempts to debug their "add to the end of the list" function, they eventually discovered that the Xano platform might not have been performing as expected.
The solution involved a three-step process: 'read', 'modify', and 'push back in'. Rather than trying to modify cached data directly, they would first retrieve (read) the data, modify it locally (add desired values), and send (push) the updated data back to the cache. They also strategized about handling Time-To-Live (TTL) for the cache and dealing with instances where the cache is void.
Towards the end of the meeting, the State Changers also briefly discussed the potential complication that might arise when dealing with more complex data structures like JSON objects, suggesting the use of JSON encoding and decoding functions to manage them.
(Source: Office Hours 12/20 pm )