Shared Worker Application for Cross-Domain Data Caching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current web browsers are inefficient in sharing network-accessible information among multiple web applications and instantiations, leading to redundant data retrieval and reduced performance, especially across different domains, which limits offline capabilities and slows down browser operations.
Innovation Solution
Implementing a shared worker application within the browser that operates across domains to cache and share network-accessible information, allowing parent web applications to request and receive data from a child web application associated with a different domain, which stores and retrieves information from local memory or network servers as needed.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If web browsers limit communications between web applications associated with different domains for security, then security is improved, but inter-domain communication capability deteriorates
Solution Approach 1:
The patent introduces a shared worker as an intermediary component that enables communication between web applications from different domains. The shared worker acts as a mediator that receives messages from one web application and forwards them to another, bypassing the direct communication block while maintaining security boundaries. This allows inter-domain communication without compromising the security model that prevents direct access between domains.
2Adaptability or versatility
If web browsers allow multiple web applications to access network information independently, then application autonomy is improved, but data retrieval efficiency deteriorates due to redundant requests
Solution Approach 1:
The patent merges the data retrieval functionality of multiple web applications through a shared worker. Instead of each application independently accessing network information, they share a common worker that consolidates data requests. The shared worker maintains a cache of retrieved data that can be accessed by multiple applications, reducing redundant network requests while preserving application autonomy through the message-passing interface.
3Adaptability or versatility
If web applications cache information locally for offline access, then offline capability is improved, but memory usage increases
Solution Approach 1:
The shared worker provides universal caching functionality that serves multiple web applications simultaneously. Instead of each application maintaining its own separate cache, the shared worker maintains a single cache that can be accessed by any number of applications. This multi-functional approach enables offline capability for all applications while sharing the memory burden, reducing total memory usage compared to individual caches.
Data Source
AI summary
Techniques are described herein that provide for inter-domain communications with one or more shared worker applications. A parent web application associated with a first domain may create a child web application associated with a second domain different than the first domain. The child web application may determine whether a shared worker associated with the second domain is operating. The shared worker acquires information associated with the second domain in response to one or more requests, and stores acquired information associated with the second domain in a memory of the local computing device. The parent web application may request, via the child web application, information associated with the second domain from the shared worker. In response to the request, the parent web application may receive, from the shared worker, information associated with the second domain stored in the memory of the local computing device.


