Server-Side Queuing for Web Page Rendering Speed
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current Web servers serve supplemental files in the order they are requested by the client browser, leading to delayed rendering of Web pages due to larger files being downloaded first, causing user impatience during the download of high-resolution images, audio, and video files.
Innovation Solution
The server-side method involves assigning sequence numbers to supplemental files in the HTML code, allowing the server to queue and serve these files in a predetermined order, independent of the client's request sequence, ensuring smaller files are downloaded and rendered first.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If supplemental files are served in the order they are requested by the client browser, then the server operation is simple, but the Web page rendering is delayed because larger files are downloaded first
Solution Approach 1:
The server performs preliminary actions by analyzing the HTML code to identify all supplemental files and their sizes before serving them. It pre-calculates the optimal serving order based on file sizes and rendersets, then queues the files in advance. This preliminary preparation enables the server to serve smaller files first without complex real-time decision-making during file transmission.
Solution Approach 2:
The invention introduces dynamic elements to the file serving process by implementing a queueing system that adapts to different rendersets and file characteristics. The server dynamically determines which files belong to which renderset and adjusts the serving order based on file sizes and renderset priorities, making the system flexible rather than static.
2Loss of time
If smaller supplemental files are downloaded first to improve user experience, then user patience is maintained, but the server must implement complex queueing logic
Solution Approach 1:
The invention segments supplemental files into different rendersets based on their functional importance and display timing. By dividing files into rendersets (e.g., first renderset, second renderset), the server can systematically manage download priorities without complex individual file analysis. Each renderset contains files that can be displayed together, simplifying the queueing logic to primarily sort by renderset and then by file size within each renderset.
Solution Approach 2:
The server changes the parameter of file serving order from default request order to size-based order within rendersets. This parameter change is implemented through a straightforward comparison algorithm that sorts files by size after grouping them by renderset, avoiding the need for complex queueing logic while achieving the goal of downloading smaller files first.
3Productivity
If the server queues and serves files in a predetermined order, then smaller files are downloaded first improving rendering speed, but the server must parse and analyze HTML code to determine file order
Solution Approach 1:
The server performs self-service by automatically parsing its own HTML code to identify supplemental files and their characteristics. Rather than relying on external information or complex client-server negotiations, the server independently analyzes the HTML, extracts file references, determines file sizes, and constructs the optimal serving queue autonomously.
Solution Approach 2:
The invention introduces an intermediary processing step where the server parses HTML code to create a mapping between file references and actual file characteristics. This intermediary analysis layer translates the HTML documentation into actionable serving information, bridging the gap between static HTML code and dynamic file delivery without requiring complex ongoing analysis.
Data Source
AI summary
A method and apparatus for controlling at the server-side the order in which supplemental files referenced in an HTML page are served to a client machine requesting the page. The server queues the supplemental files in an order dictated within the HTML code itself and serves the supplemental files in the order dictated in the queue regardless of the order of which the Web browser at the client-side requests the supplemental files.


