14
submitted 1 year ago by sortofblue@lemmy.nz to c/newzealand@lemmy.nz

Welcome to today's daily kōrero!

Yes, I created the daily today just to say how good the new kiwi icon looks, but feel free to chat anything that takes your fancy.

Today is Friday, what are your weekend plans?

you are viewing a single comment's thread
view the rest of the comments
[-] Dave@lemmy.nz 4 points 1 year ago

As that site is struggling at times, we are now also running our own instance of wefwef at wefwef.lemmy.nz

[-] nick@campfyre.nickwebster.dev 4 points 1 year ago

Oh interesting. It's a progressive web app, so you can install it on your phone which removes the need to worry about the performance of whatever site was originally hosting it.

I suspect a lot of people are just browsing it via their web browser?

[-] Dave@lemmy.nz 4 points 1 year ago

My understanding is that progressive web apps still rely on the site's server, it's basically a way to show the website as fullscreen like it was a native app, though there are a few things that PWAs are allowed to do that a normal website doesn't.

The nornal Lemmy site is a PWA as well, so that can be installed the same as wefwef.

[-] nick@campfyre.nickwebster.dev 4 points 1 year ago

Only for the initial download depending on their service worker (annoyingly it's super site dependent). I'd need to see dev tools to be sure but I'm pretty confident all the JS assets and stuff are being served locally from my phone.

There's a distinction between being able to install a site to your homescreen, adding a shortcut to the site (which opens in full screen), and installing a site to your homescreen which uses their service worker to effectively be a full local server for the site.

Setting up the service worker for my note taking app was very painful haha

[-] Dave@lemmy.nz 4 points 1 year ago

Interesting! I guess it depends on the site as to whether anything needs to be processed on the server.

I'd think typically most JS and images are cached in the browser for any site though, right?

[-] nick@campfyre.nickwebster.dev 4 points 1 year ago

In general yes, although the root HTML document might not be.

Service workers can do more than caching though, it's effectively a full web server just for that web app that runs on your device. If it's installed I'm pretty sure the data they have will never be cleared by the OS unless you uninstall the app too.

[-] Dave@lemmy.nz 4 points 1 year ago

Oh thats interesting, I wonder why the wefwef.app server was struggling so much if it doesn't do any processing just serving static content that gets stored on the client. I guess just wasn't prepared for the rush of people checking it out.

this post was submitted on 29 Jun 2023
14 points (100.0% liked)

Aotearoa / New Zealand

1642 readers
24 users here now

Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general

Rules:

FAQ ~ NZ Community List ~ Join Matrix chatroom

 

Banner image by Bernard Spragg

Got an idea for next month's banner?

founded 1 year ago
MODERATORS