Loading times increase dramatically with more volumes
Maybe I'm not using the reader as intended, but the more volumes I add to the catalog, the longer it takes to load when going to the main page. It seems to get stuck on the "fetching catalog" phase. The spinning wheel actually freezes in place and Chrome thinks that the website has stopped responding, but if you wait long enough, it eventually resolves itself.
I recorded some "fetching catalog" timings to show this.
10 volumes takes about 1 second. 30 volumes takes about 3 seconds. 60 volumes takes about 30 seconds. 100 volumes takes about 2 minutes. 200 volumes takes about 3 minutes.
These times were taken on a tablet computer running windows 11 and chrome. When I repeated the test on a desktop PC, it took about half the time.
I've a fix for this in my fork (https://github.com/Gnathonic/mokuro-reader). It still needs an amount of cleaning up (I broke google drive), but it's good enough to use. I've loaded over 2000 volumes and it takes less than a second to load. This fix also prevents a number of out of memory errors from occuring.
However, you don't need to wait for me to finish. You can use my version at this address https://mokuro-reader-tan.vercel.app/
Thanks for this. I have found a bug in this fork. If you enable issues I can write it up for you if you like.
Issues have been enabled. Write away.