nostr:npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl does jumble cache relay info pages somewhere? I can't get it to update

Reply to this note

Please Login to reply.

Discussion

Yes, relay info is cached. And the cache may be cleared after about a day.

If I clear site data should it be gone and refetched?

Of course, it’s stored in IndexedDB

Either there is a bug in Firefox Beta to not clean the data or it doesn't work ¯\_(ツ)_/¯

Right-click to open the inspector.

Sorry, should have mentioned I'm on mobile. The data is certainly not timing out as it's still showing the old information.

Oh I see. Then I don't know why it's not cleaned. This is the same relay instance only at different URLs (currently running strfry):

Time will fix it, haha.

Hahaha that's what I thought 2 days ago 😅

Have you tried switching your browser to private mode to see if the relay info shows up correctly? 🤔

Just tried.. Yes it does.

It still hasn't updated so I think it doesn't work 😁

I just tested it locally by setting the expiration time to 1 hour. It does clear expired cache and re-fetches when no cache is available.

The cache cleanup only happens one minute after opening the page, so if you haven’t used it for over a minute, it won’t trigger. Also, if you keep the page open, it won’t run the cleanup again.

Odd. So I open the relay page and then use it for more than a minute?

Not the relay page, just keeping Jumble open for a minute will trigger the cache cleanup.

Nope, doesn't do it. Maybe it has to do with the relay being a ws:// onion URL? Or maybe because my jumble runs locally?

It shouldn’t matter. I honestly have no idea for now either.

Alright, thanks. Maybe I'll figure it out

I have another question, if I may.. does jumble implement Blossom BUD-03 "Client Retrieval Implementation"?

https://github.com/hzrd149/blossom/blob/master/buds/03.md#client-retrieval-implementation

Yes, it does.

Also, you might want to update your read relays and move some non-onion relays to the top, otherwise you might miss replies from other users.

Yes I know, thanks, I'm just experimenting.

So jumble should move to another blossom server if the image URL is unreachable? As it would be the case for my current profile images but it doesn't do it.

You’re right, there’s an issue with profile banners and avatars. Thanks for the feedback, I’ll get it fixed soon.

Oh good! I started to believe I'm stupid 😅

No, you’re totally right, it was a bug and it’s fixed now 🫡

Yes it works now, except the avatar image in the bottom menu bar.

Fixed!

Works! Much appreciated 🫂

Thanks for your feedback! 🫂