US 12,248,398 B2
Service worker for version management
Miguel Jimenez Esun, Madrid (ES)
Assigned to Stripe, Inc., South San Francisco, CA (US)
Filed by Stripe, Inc., South San Francisco, CA (US)
Filed on Nov. 16, 2022, as Appl. No. 17/988,223.
Prior Publication US 2024/0160569 A1, May 16, 2024
Int. Cl. G06F 12/0802 (2016.01); G06F 16/957 (2019.01)
CPC G06F 12/0802 (2013.01) [G06F 16/9574 (2019.01); G06F 2212/60 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method for reducing latencies when synchronizing web page data across a plurality of active browsing tabs of a single web browser operating on a single system, the method comprising:
initializing, at a first system executing a single web browser, a single shared service worker shared by a plurality of active browsing tabs of the single web browser;
registering, in a cache associated with the single shared service worker, a first request from a first web worker of a first active browsing tab for a web page data, the first request associated with a first version of a web page hosted by a web server;
intercepting, at the single shared service worker, a second request from a second web worker of a second active browsing tab for the web page data;
confirming, at the single shared service worker, that the web page was updated at the web server;
in response to confirming that the web page data was updated, tracking, at the single shared service worker, subsequent requests for the web page data; and
in response to identifying, at the single shared service worker, the second request, synchronizing the updated web page data with the second web worker.