TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Chrome 40 beta: Offline service workers

78 pointsby aarkayover 10 years ago

3 comments

lxgrover 10 years ago
&gt;[...] could do their work even after the page is closed, provided the user has given permission.<p>I&#x27;m really glad for the second half of that statement.<p>While I could imagine a few use cases, the last thing I want on my smartphone are arbitrary bloated sites draining my battery after closing them. I even consider it a feature of websites vs. native apps.
msoadover 10 years ago
Service Workers are what Application Cache should have been first. Application Cache has a big flaw and that is, you can&#x27;t control it much. You depend on browser to decide what to do when there is no Internet connection. With Service Workers you get to programmatically tell browser what to do with network requests and so on.<p>Classic configuration file vs. let me write actual code approach. I&#x27;m glad we have both now! Application Cache makes sense for a lot of static websites.
评论 #8701594 未加载
ropikuover 10 years ago
I&#x27;m glad it&#x27;s a native feature.<p>I attended a talk by an FT engineer and I was amazed by what&#x27;s possible.<p>Update: Mistakenly thought that FT uses Polyfill for service workers.
评论 #8701335 未加载