Closed Popolechien closed 10 months ago
Thank you for this. I squashed multiple bugs behind this innocent-looking remove button
async
but on large catalog like English it meant approx. 1,000 requests to library.kiwix.org. Browsers have a limit on the number of requests they can make (900 for firefox) so other requests have to wait for previous ones to complete before being sent. This accounted for most of the delay. We're now using loading="lazy"
uwsgitop
to the image so we can have better insights at what happens on prod.
Creating a fairly large configuration and trying to remove zim files from it, it takes several seconds for it to be taken into account in the config size counter (during which time other operations such as Change tab or Update config are not responding). The zim file disappears from the content list almost immediately, however.