I am working on an app that uses http requests (to local files) to fill a div. The files are large, but not huge (the largest is a little less than 1000KB) but even though there is no error during the request, I find that files larger than ~100kb do not fully load. When I load one of the larger files, everything appears to be fine. But if I try to scroll to the end, after a little while, the area of the screen showing the div simply goes black. I can scroll back to the top and see the text again, but I cannot see the whole of my file.
Plainly, there is some limit (perhaps some maximum size for a Javascript string) that I am tripping over. Can you help me understand what that limit is, and how to deal with my problem.
Thanks,
JAS
P.S. My app is solely for my private use. It will/need not be deployed on the web. It is merely meant to make it easy for me to read (on screen) several novels I have downloaded from Gutenberg. Thanks again.
Plainly, there is some limit (perhaps some maximum size for a Javascript string) that I am tripping over. Can you help me understand what that limit is, and how to deal with my problem.
Thanks,
JAS
P.S. My app is solely for my private use. It will/need not be deployed on the web. It is merely meant to make it easy for me to read (on screen) several novels I have downloaded from Gutenberg. Thanks again.