in the moment I am facing a timing problem generating a JSON File and offer it for downloading it ( ExportFile() ).
So what happens:
User has possibility to select a CSV File with e.g.1000 lines. Each line is checked and the app send a request via php to my server for database research. Reply comes back with a JSON String in an acceptable time (OK thats a server thing...). I select the JSON String in a variable and add each result which comes from my server. At last I create a file and write the string variable to it and export it. Now, it takes up to 2 minutes until the file is written and ready to be downloaded (System save file Window appears). To be honest, the file size was 60 MB and may be larger if I increase the number of lines in CSV file.
So 2 things happens I am not really happy about.
1. Preparation of file takes very long
2. Browser message appears an app takes too long for reaction: Stop or wait app.
Does someone have an idea for better handling of huge data?
Useful discussion start now
