{"id":272,"date":"2019-08-29T07:24:24","date_gmt":"2019-08-29T07:24:24","guid":{"rendered":"http:\/\/pwa-for-wp.com\/docs\/?post_type=ht_kb&#038;p=272"},"modified":"2019-09-24T12:19:46","modified_gmt":"2019-09-24T12:19:46","slug":"understanding-force-update-service-worker-option-in-pwa","status":"publish","type":"ht_kb","link":"https:\/\/pwa-for-wp.com\/docs\/article\/understanding-force-update-service-worker-option-in-pwa\/","title":{"rendered":"Understanding Force Update Service Worker Option in PWA"},"content":{"rendered":"\n<p>Force Update Service Worker \u2013 Suppose you have made some changes in settings like an icon or APP name, but the people who already have it installed, they would need to update their service worker, so this option does it for them.   <\/p>\n\n\n\n<p>You will find this option in the <strong>WordPress Dashboard<\/strong> -> <strong>PWA<\/strong>  -> <strong>Settings<\/strong>-><strong>Advanced <\/strong>->  In this &#8220;<strong>Force Update Service Worker<\/strong>&#8221; option you can change the version and after that click on the &#8220;<strong>Save Settings<\/strong>&#8221; button. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"544\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/12-3-1024x544.png\" alt=\"\" class=\"wp-image-479\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/12-3-1024x544.png 1024w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/12-3-300x159.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/12-3-768x408.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/12-3-50x27.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/12-3-60x32.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/12-3-100x53.png 100w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/12-3.png 1039w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Force Update Service Worker: <\/strong>Once you change the version. It will automatically update the service worker for all the users.<\/p>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope we\u2019ve clear your doubts in case If you have any feedback or questions, Just contact us&nbsp;<strong>here and<\/strong>&nbsp;we are always available for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Force Update Service Worker \u2013 Suppose you have made some changes in settings like an icon or APP name, but the people who already have it installed, they would need to update their service worker, so this option does it for them. You will find this option in the WordPress&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[7],"ht-kb-tag":[],"class_list":["post-272","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-miscellaneous"],"_links":{"self":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":9,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/272\/revisions"}],"predecessor-version":[{"id":480,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/272\/revisions\/480"}],"wp:attachment":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=272"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}