I have a playerdata/ directory with over 400k files in it. If I open it in pyro, it times out. I assume this is because elytra tries to send all 400k files to pyro
I think pyro needs the ability to query only certain pages and files from elytra, and elytra should send only those files back, so that timeouts don't happen.
For example:
- If a directory has 50 files or less, just send the whole directory.
- If a directory has more than 50 files, send page one of the directory (first 50 files), and when the front-end requests page 2, send the second 50 files,
- If a directory has 400k files, send page one. If the user user types in the search bar, send the files that match that query, and perhaps have that paginated as well.