Browse Prior Art Database

a new methodology of browser content processing mechanism optimization for dynamic server resources

IP.com Disclosure Number: IPCOM000241106D
Publication Date: 2015-Mar-27
Document File: 6 page(s) / 241K

Publishing Venue

The IP.com Prior Art Database

Abstract

As our web20 application is becomming more and more complex, especially for the huge web application, to address this issue, we are always using different web page or build iframe in one page to make the page clearer and also make our development controllable when hundreds of people working together for one page. But this way always caused a lot of performance issue when there are too much iframe inside one page which will led to a lot of duplicated request. This disclosre describes a new way to analysis the dynamic web page in runtime (when user send access request), and generate the final web page with javascript message controller which re-org the iframe content and the ajax request in order to limit the request and unnecessary duplicated code execution, which can bring us much better performance

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 53% of the total text.

Page 01 of 6

a new methodology of browser content processing mechanism optimization for dynamic server resources

Iframe is widely used in web applications. It allows a visual HTML Browser window to be split into segments, each of which can show a different document.

However, it brings the possibility to lower down the page performance.

Below are the well-known issues:


1. Document in iframes may request the same resources (CSS, JS resources) as they are requested by the parent window at the same time. It will create duplicated http request for the same resources.

2. For most of the browsers, parent window and embedded iframes are sharing the same connection pool, whichincreases the possibility of blocking.

3. window.onload() event will not be triggered until all the resources of both parent window and iframes have been loaded, which will make users feel the page is slow.

Current browsers use cache to handle repeated request of same resources. However, it still has obvious shortages and doesn't will address the challenge:


1. While loading the page at the first time, it will still create duplicate http request from parent window and iframes.


2. After local cache expires, it will meet with the same issue as the first time loading.

The core idea of this invention is to optimize resource loading mechanism. This new mechanism is especially designed to improve the performance of embedded iframes by saving repeated http request for the same resources.

Iframes may require the same resources (css resources, js resources) as what is required in parent page. Instead of sending request server for the same resource again, we take advantage of inline memory resources and load it directly from the inline memory.

The main point of this disclosure includes:

1> Inline memory manipulation and resource loading in different ways according to different browsers' capability .


1. JS inline memory controller which creates local inline memory and controls the creation of iframe andiframe's resources loading from inline memory.

2. Take advantage of existing browser's capability anduse fake server to handle the request for inline memory resources. The fake server can be implemented using ActiveX or flash plugin.

3. Manipulate over browser's build-in caching system, load resource from browser's cache.

2> Dynamic resource d...