Web Page Resource Preloading via Historical Prediction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Web page loading times are prolonged due to the time it takes for a web browser to identify and download resources after a user navigates to a new page, as the browser waits for the root page to be received and parsed before accessing and processing the necessary resources.
Innovation Solution
Preloading anticipated resources based on prior history and load records, establishing connections with resource servers before parsing the root page, and prioritizing resource loading to reduce overall page load time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If the browser waits for the root page to be received and parsed before downloading resources, then it ensures accurate resource identification, but web page loading time increases
Solution Approach 1:
The system performs preliminary actions by analyzing historical loading patterns and predicting required resources before the root page is fully parsed. It proactively initiates resource downloads based on prior behavior data, thereby reducing waiting time while maintaining reliable resource identification through historical accuracy.
Solution Approach 2:
The system uses feedback from historical loading data to continuously improve resource prediction accuracy. By analyzing past loading patterns and comparing predicted versus actual resources, the system refines its prediction model, enabling faster and more accurate resource identification without waiting for root page parsing.
2Reliability
If the browser downloads all possible resources immediately, then resource availability is improved, but network bandwidth and system resources are wasted
Solution Approach 1:
The system applies partial action by downloading only the predicted subset of resources needed for the web page, rather than all possible resources. This selective approach ensures sufficient resource availability while conserving network bandwidth by avoiding unnecessary downloads of unused resources.
Solution Approach 2:
Resources are preliminarily identified and downloaded based on historical patterns before they are actually needed. This allows the system to have critical resources ready in advance without downloading excessive resources, optimizing the balance between availability and resource consumption.
3Reliability
If the browser establishes connections to resource servers after parsing the root page, then connection accuracy is improved, but connection establishment time increases
Solution Approach 1:
The system performs preliminary connection establishment to resource servers based on predicted resources before the root page parsing completes. By proactively initiating connections using historical data, the system reduces connection establishment time while maintaining accuracy through validation against actual resource requirements.
Solution Approach 2:
The system maintains continuous useful action by overlapping connection establishment with the root page parsing process. Instead of waiting for parsing to complete, connections are established continuously in the background based on predictions, ensuring no idle time is wasted while maintaining connection accuracy through subsequent validation.
Data Source
AI summary
A computer-implemented method for preloading resources of a web page is provided. The method includes receiving a user request to navigate to a web page and issuing a request for a root page corresponding to the requested web page, wherein the root page identifies actual resources requested for loading the requested web page. The method also includes determining, based on a prior history of loading the requested web page, anticipated resources that are likely to be requested when loading the requested web page, and requesting the anticipated resources from a server associated with the anticipated resources at least until a time that the root page corresponding to the requested web page is received to determine the actual resources requested for loading the requested web page. Systems and machine-readable media are also provided.


