Currently, I am working on developing a client application for a customer's webservice using Angular and Cordova.
Upon calling the Login
API, I receive an array of categories that are required for the menu.
My dilemma lies in determining whether it is better for design or performance reasons to request an API call every time I need the menu categories, or to simply store them in localStorage upon successful login.
Which option would be more cost-effective in terms of making API calls versus utilizing localStorage?