Live data from Hacker News

Service Workers

frontendian.co

41–50 of 68 posts

Re: Service Workers

#41
post #28

Earlier quoted context omitted.

I've recently set an offline mail client to sync mail locally for my wife's laptop. Her two gmail accounts downloaded 22GB. Be careful what offline actually means when it comes to mail; eg. that 22GB as service worker cache sounds a bit nasty to me, especially because service workers don't tend to differentiate between desktop and mobile.

Definitely. I’d hate to have it download all my mail on my laptop or my phone. We have yet to particularly consider the UI for controlling it, but I fully expect that anything in the way of synchronisation rather than simple caching of what we’re already fetching (and only limited amounts of that—there’s already an LRU GC on the cache) will require manual configuration, probably with options like “sync the inbox” or…

I can't imagine not downloading all mail, why wouldn't you want a local backup? Space is cheap.

Re: Service Workers

#44

Earlier quoted context omitted.

Definitely. I’d hate to have it download all my mail on my laptop or my phone. We have yet to particularly consider the UI for controlling it, but I fully expect that anything in the way of synchronisation rather than simple caching of what we’re already fetching (and only limited amounts of that—there’s already an LRU GC on the cache) will require manual configuration, probably with options like “sync the inbox” or…

I can't imagine not downloading all mail, why wouldn't you want a local backup? Space is cheap.

Uhm... if you read back... 22GB mail can't fit on, say, a 16GB flash phone...

Re: Service Workers

#45
post #10

Earlier quoted context omitted.

> That is how the web works. good luck trying to convince google of that. they are shaping the web just the way they want it. push notifications? nobody ever except the marketing apartment thought that was a good idea to add to anything. if we try making everything on the web like mobile apps we're gonna get garbage features like this and false expectations on what the web should be like.

I'm pretty sure that everyone who ever used some sort of messaging application thinks that push notifications are a good idea.

Nobody wanted their "messaging application" to run in a web browser before Google. AIM, ICQ, IRC, and Yahoo Messenger all used local clients.

Re: Service Workers

#46
post #23

Earlier quoted context omitted.

Open up about:serviceworkers and observe the wonders of cookies 2.0 Kinda sucks that something with such promise is predominantly used as just another weapon for tracking.

Service Workers isn't a new persistence mechanism, it uses existing ones.

Does it? It can access them, but clearing the existing ones doesn't necessarily clear the SW I think?

Re: Service Workers

#47
post #44

Earlier quoted context omitted.

I can't imagine not downloading all mail, why wouldn't you want a local backup? Space is cheap.

Uhm... if you read back... 22GB mail can't fit on, say, a 16GB flash phone...

Why would anyone that has that amount of mail go out of their way to get a phone with such limited capacity. At this point a phone with 16gb serves the purpose of being a burner phone.

Re: Service Workers

#48
Maybe I'm out of touch, but for messaging apps wouldn't it be desirable to have an actual service from a native app that you can enable/disable in your OS?

Re: Service Workers

#49

Maybe I'm out of touch, but for messaging apps wouldn't it be desirable to have an actual service from a native app that you can enable/disable in your OS?

On some platforms, progressive web apps effectively _are_ native: https://developers.google.com/web/fundamentals/integration/w...

Re: Service Workers

#50
post #44

Earlier quoted context omitted.

Uhm... if you read back... 22GB mail can't fit on, say, a 16GB flash phone...

Why would anyone that has that amount of mail go out of their way to get a phone with such limited capacity. At this point a phone with 16gb serves the purpose of being a burner phone.

You are not living in the real world.

There is no limit on gmail. For someone who has it for a decade or more, 20GB mail is realistic, since gmail always told you there is no need to delete anything, ever.

As for 16GB phones, those are pretty normal; take a look at moto e5. Please don't tell me a 64GB phone is required for email.

It also doesn't change the initial problem of what and how much should be cached by service workers.

Post reply on HN