Hope you are safe and doing well,
I can understand your dilemma, whether to use the Data Storage provided by Freshworks developer platform or the browser’s local storage, To be honest with you it boils down to a matter of choice and choosing which is best for the app rather than which is better between the two in general, both the Freshworks data storage and the browser’s local storage have their pros and cons, For example
Data saved in Freshworks data storage is available across the account and can be accessed across multiple agents and multiple browsers and devices as long they have access to the object saved in the data storage.
whereas in local storage the data is available is only to the agent/instance of the app that saves the value.
So if your preference is one of the below, Freshworks data storage is the way to go, Hands down!
- Data Persistence
- Data sharing across multiple agents in the account
- Reliability and security
Data Access Frequency
Freshworks data storage does have it’s limitations in terms of
- Though there is no limit on the number of JSON objects that can be saved in Freshworks data storage, the size of each object cannot exceed 8kb
Frequency of access
- Data storage also has a rate limit of 5o requests/minute (Read + write + update).
So, if your app doesn’t have to save the data securely, or require frequent access to the data, or save data local to that instance/agent, the browsers’s local storage seems to be the better option
TLDR:- For your Use Case, the Browsers’s local storage seems to be the better option
Hope this helps!