Selective Unload Handler Caching for Web Browser Performance
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Complex web pages with scripts and third-party elements often hinder browser performance by preventing caching, leading to delays in navigation and user experience degradation.
Innovation Solution
A method that selectively ignores unload handler scripts associated with unimportant or third-party elements, allowing web pages to be cached by creating a hierarchical document object model (DOM) and examining scripts to determine their importance, thereby enabling quick re-display of cached pages.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If web pages are cached to improve navigation performance, then backward/forward display speed is improved, but security risks increase for financial institutions and user experience degrades when unload scripts are executed
Solution Approach 1:
The patent segments the DOM into a hierarchical structure with multiple levels, allowing selective analysis of different DOM elements. By dividing the page into manageable DOM segments, the system can identify and ignore unload handler scripts at specific levels while preserving caching for safe content, thus resolving the contradiction between caching performance and security concerns.
Solution Approach 2:
The patent applies local quality by making the caching decision selective rather than universal. The system analyzes each DOM element's unload handler scripts individually and determines whether to cache specific portions of the page based on their security implications and visual significance, allowing important content to be cached while excluding potentially harmful elements.
2Ease of operation
If unload handler scripts are executed to maintain page functionality, then user experience is preserved, but navigation performance deteriorates due to prevented caching
Solution Approach 1:
The patent applies partial action by selectively ignoring certain unload handler scripts rather than executing all of them. The system performs partial execution of unload handlers based on their importance and visual significance, allowing critical functionality to be maintained while permitting caching of pages with non-critical scripts, thus balancing user experience with navigation performance.
Solution Approach 2:
The patent changes the parameter of script execution from binary (execute or ignore) to a graded scale based on visual significance and importance. By introducing parameters such as visual significance thresholds and importance weights, the system can make nuanced decisions about which unload handlers to execute and which to ignore, optimizing both user experience and caching efficiency.
3Reliability
If all unload handler scripts are executed to ensure complete page functionality, then reliability is improved, but productivity decreases due to increased processing time and prevented caching
Solution Approach 1:
The patent segments unload handler scripts into different categories based on their functionality and importance. By dividing scripts into critical and non-critical groups, the system can reliably execute only the essential handlers while ignoring redundant ones, maintaining page functionality reliability without the overhead of executing all scripts, thus improving productivity.
Solution Approach 2:
The patent extracts and removes non-essential unload handler scripts from the execution sequence. By identifying and taking out scripts that do not contribute significantly to page functionality or visual display, the system reduces processing time and enables caching, while preserving the reliability of core page functions through selective execution of essential handlers.
Data Source
AI summary
A method for improving backward and forward web browser performance is described. In one embodiment, backward and forward web performance is enhanced by ignoring unload handler scripts and caching web pages. Web elements with unload handler scripts are examined. In a first pass, if the web page elements are not determined to be significant, then the related unload handler scripts can be ignored, enabling the web page to be cached. In a second pass, if the web page element is significant, but the unload handler script is determined to be insignificant, then the unload handler script can be ignored and the web page can be cached.


