JavaScript Emulator Proxy Server Web Page Optimization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing web content optimization servers fail to properly optimize web pages that heavily rely on JavaScript, leading to reduced functionality on client devices due to the removal of JavaScript code during optimization processes.
Innovation Solution
Implementing a JavaScript emulator in a proxy server to create and store an object model of web pages with JavaScript instruction sets, allowing for the extraction and insertion of JavaScript field identifiers, enabling the execution and processing of JavaScript functions while optimizing web content.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If JavaScript instruction sets are removed from web pages during optimization, then web page performance and compatibility with client devices is improved, but JavaScript-dependent functionality is lost
Solution Approach 1:
The patent introduces a JavaScript emulator as an intermediary component between the optimization server and the client device. The emulator intercepts JavaScript instructions, emulates their execution in a controlled environment, and provides the necessary functionality while allowing the optimization process to proceed. This mediator enables the system to maintain JavaScript-dependent functionality while still optimizing web pages for client devices.
Solution Approach 2:
The patent segments the web page into different components: optimized content that is delivered to the client device and JavaScript instruction sets that are handled separately by the emulator. This segmentation allows the optimization process to work on static content while the emulator handles dynamic JavaScript functionality, resolving the contradiction between optimization efficiency and functionality preservation.
2Ease of operation
If JavaScript code is extracted and transformed rules are applied, then web content is optimized for display, but form validation and data processing functionality is reduced
Solution Approach 1:
The JavaScript emulator acts as a mediator that preserves form validation and data processing capabilities while allowing optimized content delivery. The emulator intercepts JavaScript form validation instructions and emulates their execution, ensuring that form processing functionality is maintained even though the JavaScript code has been extracted from the main web page content.
3Loss of time
If JavaScript instruction sets are removed to optimize for mobile devices, then bandwidth usage and loading time are reduced, but AJAX data retrieval functionality is lost
Solution Approach 1:
The JavaScript emulator serves as an intermediary that enables AJAX data retrieval functionality while reducing overall web page loading time. By intercepting and emulating JavaScript AJAX instructions, the system can deliver optimized content faster while maintaining the ability to retrieve data from external resources through JavaScript-based mechanisms.
Data Source
AI summary
A method, computer readable medium and apparatus that utilize a JavaScript emulator in a proxy server to create and store an object model of a web page which has one or more JavaScript instruction sets. At least one of the one or more JavaScript instruction sets are extracted from the web page and a JavaScript field identifier is inserted into the web page to optimize the web page which is then provided.


