Post-Processing Web Page Resource Grouping to Reduce Latency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing web page rendering processes experience latency due to the need for multiple requests for resources such as images, scripts, and style sheets, as the browser individually requests each resource during the rendering stage, leading to increased latency and rendering time.
Innovation Solution
A method and device for post-processing rendered HTML pages to identify and group resources by type, creating a surrogate URL that allows for a single request to retrieve combined resources, reducing the need for individual requests and thereby minimizing latency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If the browser individually requests each resource during rendering, then the browser can retrieve all necessary resources, but the rendering time and latency increase
Solution Approach 1:
The patent merges multiple individual resource requests into a single batched request. The system collects resource references from the rendered HTML page, groups them by type, and sends a single consolidated request to retrieve all resources simultaneously, eliminating the sequential latency of individual requests
Solution Approach 2:
The system performs preliminary parsing of the HTML page to identify and group all resource references before sending the request. By pre-processing the page content to extract resource URLs and categorize them, the system prepares the request structure in advance, enabling efficient batch retrieval without individual processing delays
2Reliability
If multiple individual requests are made for resources, then all resources can be retrieved, but the number of requests increases system complexity
Solution Approach 1:
Multiple separate request-handling mechanisms are merged into a single unified request processor. The system consolidates the request management logic to handle all resources in one operation, reducing the complexity of managing multiple individual requests while ensuring all resources are retrieved
3Loss of time
If resources are grouped by type and retrieved in a single request, then latency is reduced, but the request processing complexity increases
Solution Approach 1:
The patent segments resources by type (e.g., images, scripts, stylesheets) within the single batched request. By organizing resources into type-based groups, the system maintains structured processing that simplifies handling while still achieving parallel retrieval, balancing reduced latency with manageable processing complexity
Data Source
AI summary
A method of post processing a rendered HTML web page includes receiving a rendered web page, parsing the web page to identify resources that the web page includes links to, grouping the identified resources according to a type of resource, creating a resource reference that refers to each group of resources, and inserting the resource reference into the web page to enable the identified resources in the web page to be retrieved.


