Local CDN System in Web Browser for Content Delivery
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The high cost of CDN services and the limitations of static browser cache in dynamically updating content pose challenges for improving web content delivery performance while minimizing reliance on external CDNs.
Innovation Solution
Implementing a local CDN system within the web browser that proactively caches resources, updates cached content dynamically, and reduces the need for external CDN services by leveraging a CDN agent and service worker to manage cache operations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If CDN services are used to deliver web content, then content delivery speed is improved, but service cost increases significantly
Solution Approach 1:
The patent creates a local copy of the CDN service within the browser by implementing a virtual file system that stores web content locally. This local copy allows the browser to serve content from its own storage rather than relying on external CDN servers, thereby maintaining fast content delivery while eliminating CDN service costs.
Solution Approach 2:
The browser is enhanced to perform self-service content delivery by building its own virtual CDN infrastructure. The browser automatically captures, stores, and serves web content from its local virtual file system, making it self-sufficient and eliminating the need for paid external CDN services.
2Speed
If browser cache is used to store resources, then loading speed is improved, but the cache cannot dynamically update content
Solution Approach 1:
The patent transforms the static browser cache into a dynamic system by implementing a virtual file system with continuous synchronization. The system automatically detects changes in web content, updates cached resources dynamically, and maintains freshness without requiring manual intervention or restarting the cache.
Solution Approach 2:
The system establishes a feedback loop where the browser continuously monitors web content for changes, compares it with cached versions, and automatically updates the cache when modifications are detected. This feedback mechanism ensures the cache remains current while maintaining fast loading speeds.
3Reliability
If external CDN servers are accessed frequently, then content freshness is maintained, but network dependency and latency increase
Solution Approach 1:
The patent implements preliminary action by proactively capturing and storing web content in the browser's virtual file system before it is actually needed. The system anticipates content requests and pre-loads resources locally, eliminating the need for real-time network requests and reducing latency when content is accessed.
Data Source
AI summary
A system and method for accelerating web content delivery are disclosed. The method includes capturing a request to access a webpage hosted by a web server, the request is initiated by a web browser; determining if there are resources in the requested webpage cached locally at a cache memory of the web browser; retrieving cached resources that are locally cached at the web browser; retrieving uncached resources from the web server; and rendering the webpage on the webpage from the cached resources and the uncached resources.


