forscht / ddrive

Discord as a filesystem.
https://ddrive.forscht.dev
MIT License
490 stars 98 forks source link

[Suggestion] Pages for folders with too many files #38

Open NoNameLmao opened 1 year ago

NoNameLmao commented 1 year ago

opening a ddrive folder that contains a lot of files can very quickly eat up a lot of ram. i've tested this with over 2.1k files in one folder. using chrome the page used 353mb of ram (checked using chrome's task manager) a good solution would be to implement pages to not display all 2.1k files at once.

NoNameLmao commented 1 year ago

ill experiment with it in my fork, but i think i have found a way to generate those pages on the go without any extra static files.

UnlimitedBytes commented 1 year ago

Good idea but it shouldn't compromise searchability of folders.