I am writing an angular application, and I'm wondering how much client side memory to use.
I'm currently working on a scenario where there are 2 dropdowns. The second will load new values depending on the selection of the first. I'm thinking the max # of total records in the 2nd dropdown would be around 2000-3000 items, each being around 2k each. Each selection would display probably 10-15 items of the 2000-3000.
Should I load the entire array into memory and parse the selected values from there, or should I read from the server every time the first dropdown changes?
I know for a desktop this wouldn't be a big deal. But we support phones and tablets, and I'm not sure how much memory to worry about with these devices.