I just reviewed that code. It seems to be doing the bare minimum the app needs. Amethyst needs to load in the background. There is no way around it.

Reply to this note

Please Login to reply.

Discussion

can't you just make it only load when user tap the tab (like video section)? if not then i found no point of having the [Refresh] button being here.

And the fact that i need to manually disable it by telling my bouncer to not send anything to amethyst except event with kind 0 and 1 is still annoying.

Why are you using Amethyst If you only want kind 1s? There are 10s of clients that do kind 1s only. Amethyst is for people that want everything, all at once. It's the whole goal of the project.

> Amethyst is for people that want everything all at once

I have no problem with that point. The problem goes that this is an mobile app that ridiculously consumes lot of bandwidth at background.

Yeap. And it will probably always be like that. In fact, it will probably double or triple when we add full support for NIP 65, when the average number of relays goes from 15 to 75 per session.

You should try leaner apps like Yana https://yana.do/ or nostros https://nostros.net/

Or just reduce the `limit` on the background `REQ`. At some cases my bouncer did send 1000 events which consumes >= 100 MB of bandwidth.