{"json_modified": "2016-03-28T08:43:11.725403", "uuid": "f0dc1e25-1345-4021-8336-e0fc25d24163", "title": "ServiceWorkerRegistration.update()", "url": "/en-US/docs/Web/API/ServiceWorkerRegistration/update", "tags": ["API", "Reference", "ServiceWorkerRegistration", "Update", "update", "Service Workers", "Method"], "translations": [], "modified": "2016-03-17T14:02:55", "label": "ServiceWorkerRegistration.update()", "localization_tags": [], "locale": "en-US", "id": 135909, "last_edit": "2016-03-17T14:02:52", "summary": "The update method of the ServiceWorkerRegistration interface attempts to update the\u00a0service worker. It fetches the worker's script URL, and if the new worker is not byte-by-byte identical to the current worker, it installs the new worker. The fetch of the worker bypasses any browser caches if the previous fetch occurred over 24 hours ago.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Returns", "title": "Returns"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/ServiceWorkerRegistration/update", "review_tags": ["technical"]}