Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Service Worker intended to replace or coexist with Appcache?

Is ServiceWorker intended to replace Appcache, or is the intention that the two will coexist? Phrased another way, is appcache about to become deprecated?

like image 909
James Avatar asked Feb 02 '15 05:02

James


People also ask

What is the use of service worker?

Service workers are specialized JavaScript assets that act as proxies between web browsers and web servers. They aim to improve reliability by providing offline access, as well as boost page performance.

What is a service worker?

Service worker may refer to: Social service worker, a person engaged in social work. Pink-collar worker, a person in the service industry whose labour is related to customer interaction, entertainment, sales or other service-oriented work.

What is an example of a service worker?

Examples of personal service positions include: Medical assistants and other healthcare support positions; hair- dressers; ushers; and transportation at- tendants. Examples of cleaning service positions include: Cleaners; janitors; and porters.

What is service worker in PWA?

A service worker is a script written in javascript that allows intercepting and control of network requests and asset caching from the web browser. With service workers, web developers can create reliably fast web pages and offline experiences.


1 Answers

Blink's Service Worker team is keen on deprecating AppCache (We will follow our usual intent to deprecate process). We believe that Service Worker is a much better solution. Also, it should be pretty easy to offer a drop-in replacement for AppCache built on top of SW. We'll start by collecting usage metrics and do some outreach.

AppCache and Service Worker should coexist without any issue since offering offline support via AppCache for browsers that don't support Service Workers is a valid use case. @flo850 If it's not working, please let us know by filing a bug.

like image 196
Kenji Baheux Avatar answered Oct 26 '22 22:10

Kenji Baheux