Can a stand-alone JavaScript application using working services work after a browser restart?

The application cache as a means of creating stand-alone browser applications is outdated. In the current way to create a stand-alone web application, you can use service workers .

Service employees can download all network requests and provide content for them. Since the working service can work even when the user closes the tab, he can provide cached content when the Internet is temporarily down.

However, when I was interested in stand-alone web applications, it was because I was hoping to use it, even when I constantly do not have Internet access. I created a simple standalone application, but it doesnโ€™t work when I close and open the browser - I get a message that the page cannot be loaded.

Is there a way to disable the service worker even after closing and reopening the browser? If not, are there any planned standards for this? This would be very useful for mobile users.

+4
source share
2 answers

Can a stand-alone JavaScript application using working services work after a browser restart?

, , . .

, , , URL-, , , . , , fetch, .

+2

. Chrome , Firefox . IE .

W3C. , . .

NaLan Lawson pokedex.org, -, , .

+1

All Articles