More cache relay options in #noStrudel... or non-options

The in-memory relay is kind of cool because you can see all the events that are loaded for single session. It also supports importing and exporting those events 😀

I'm also finding it great for finding bugs with how things load in the app. turns out if you remove the cache you can see if things load correctly

Thanks to nostr:npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku giving me the idea

The changes are only in next.nostrudel.ninja version for now

Reply to this note

Please Login to reply.

Discussion

also makes it easier to debug a relay

are you going to claim my 14400 sat bounty for disabling or do i need to make it 28800?

The No Cache option disables the local relay cache. however profiles and some timelines (notifications, feeds) are still cached in memory

So it should work for your use case right?

gonna test it and zap you if it does what i need it to do... sounds like it will

i can't see how to access this option? where is it?

will be tomorrow, the night is falling :D

i don't do this reneging thing tho... if you got the feature i need and it's ok, i zap first level, if it works perfectly, i zap second

yes, already see from basic test it works so half is paid, tomorrow i pay the rest when i confirm in my test relay setup it pushes all queries to my relay, and ... well, near enough but it's only 10 bux today thank you for doing this

i feel bad only ten bux but i assume it wasn't a hard task

it was pretty easy, just added about 10 or so "if" statements

well i zapped the other half i said i would, tested this morning seems to be working how i need it to... just that i've got a few bugs to iron out in the database key codec still

will be testing shortly

ok, first feedback not getting anything out of the wasm sqlite db

re-enabling the browser db everything works as normal

i will give feedback and zap when i confirm that the disable thing actually calls the relay for everything all the time

i'm sure you understand how this can be used in a stack

ok, just need to make a report - sqlite, in memory and no-cache options don't catch notifications, at all... the screens are empty