rlv-dan / Snap2HTML

Generates directory listings contained in a single, app-like HTML files
http://www.rlvision.com/snap2html
GNU General Public License v3.0
505 stars 91 forks source link

The html is too big to open very slowly #41

Open niubility6 opened 1 year ago

niubility6 commented 1 year ago

If there are too many contents in the folder, the generated html will be very large, or the html will be opened slowly or cannot be opened at all. Is there any way to solve this problem?

rlv-dan commented 1 year ago

The generated html will be large, since it must store the file data inside. I have generated html files with a lot of files. I have not had any problems opening such files (locally). How many files do you have?

niubility6 commented 1 year ago

I often generate html that exceeds 100M, and opening it is very slow.

rlv-dan commented 1 year ago

I assume you are loading the files locally (so you don't have to download the file first).

I generated a file with 500000 files (all files on my computer). It is 50MB. It takes me about 5-6s to load in Edge. Considering the size I think this is reasonable.

How long does it take you to load?