SERVICE WORKER CONFIGURED TO SERVE MULTIPLE SINGLE PAGE APPLICATIONS
Disclosed herein is a system configured to implement a service worker capable of serving multiple single page applications (SPAs) that are hosted in the same uniform resource locator (URL) space (e.g., a domain within which the SPAs are hosted). Accordingly, the defined scope of the service worker i...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Disclosed herein is a system configured to implement a service worker capable of serving multiple single page applications (SPAs) that are hosted in the same uniform resource locator (URL) space (e.g., a domain within which the SPAs are hosted). Accordingly, the defined scope of the service worker is no longer bound by only one SPA, but rather by a root directory of a web site that hosts multiple SPAs. Since the service worker described herein serves multiple SPAs, the service worker implements an approach to ensure that a correct application controller corresponding to the SPA that hosts a URL is invoked. To do this, the service worker is configured to leverage a router and a routing table to associate a URL included in a request from a browser with the correct application controller corresponding to the SPA that hosts the URL for which the request is sent. |
---|