JavaScript Reductor for Webpage Rendering Speed

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The delay in rendering webpages due to the collection of various embedded content objects, such as Javascript scripts and images, can slow down the presentation of webpages and consume substantial bandwidth.

Innovation Solution

A system and method that replaces embedded content objects with stubs, injects reporting instructions, and prioritizes content objects based on usage patterns, allowing high-priority objects to be quickly accessed and cached, while low-priority objects remain accessible via stubs, thereby improving rendering speed and reducing bandwidth consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all embedded content objects are collected to ensure proper webpage rendering, then rendering completeness is improved, but webpage presentation time increases

Engineering Contradiction:
Improvewebpage rendering completenessVSAvoidwebpage presentation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments content objects into different priority levels (high-priority and low-priority). High-priority content objects are collected and made available before webpage presentation, while low-priority objects are loaded asynchronously or on-demand. This segmentation allows the webpage to be presented promptly with essential content while maintaining rendering completeness through subsequent loading of additional content objects.

Inventive Principle:
Principle #1Segmentation

2Reliability

If all embedded content objects are collected to ensure proper webpage rendering, then rendering completeness is improved, but bandwidth consumption increases

Engineering Contradiction:
Improvewebpage rendering completenessVSAvoidbandwidth consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent segments content objects into different priority levels (high-priority and low-priority). High-priority content objects are collected and made available before webpage presentation, while low-priority objects are loaded asynchronously or on-demand. This segmentation allows the webpage to be presented promptly with essential content while maintaining rendering completeness through subsequent loading of additional content objects.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial action by collecting only the necessary high-priority content objects needed for initial webpage rendering, rather than collecting all content objects upfront. Low-priority content objects are loaded partially or on-demand as needed, reducing initial bandwidth consumption while still ensuring eventual rendering completeness.

Inventive Principle:
Principle #16Partial or excessive action

3Speed

If content objects are prioritized and only high-priority objects are quickly accessed, then rendering speed is improved, but access to low-priority objects may be delayed

Engineering Contradiction:
Improverendering speedVSAvoidaccess time for low-priority objects
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-collecting and pre-processing high-priority content objects before webpage presentation. This allows the webpage to be rendered quickly with essential content available immediately. Low-priority content objects are prepared for subsequent loading, ensuring that while they may be accessed later, the critical rendering path is not blocked by their loading times.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8346784B1Java script reductor
Publication Date: 2013.01.01 DRNC HOLDINGS INC
  • US8346784B1 patent drawing
  • US8346784B1 patent drawing
  • US8346784B1 patent drawing

AI summary

A system can be provided for dynamically serving a content file. A content object request function can receive a request for a webpage defined by the content file, the content file including a plurality of embedded or referenced content objects, at least one of the plurality of content objects including a Javascript. A content-file modifier can modify the content file to include instructions to generate reports comprising information relating to invocation of stubs. A report receiver can receive reports from the end user system, and an object usage analyzer quantifes usage of each of the stubs. An object prioritizor can prioritize the plurality of content objects based on the analysis, the prioritization including an identification of at least one high-priority content object. An object injector can modify the content file such that the high-priority content object automatically loads upon rendering of the content file.