Browse Prior Art Database

Method and System for Decreasing Page Load Time by Downloading JavaScript Resources in a Head Tag

IP.com Disclosure Number: IPCOM000235819D
Publication Date: 2014-Mar-26
Document File: 2 page(s) / 147K

Publishing Venue

The IP.com Prior Art Database

Related People

Diptendu Bhowmick: INVENTOR

Abstract

A method and system is disclosed for decreasing page load time by downloading JavaScript resources specified within a Hyper Text Markup Language head tag.

This text was extracted from a Microsoft Word document.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 61% of the total text.

Method and System for Decreasing Page Load Time by Downloading JavaScript* Resources in a Head Tag

Abstract

A method and system is disclosed for decreasing page load time by downloading JavaScript resources specified within a Hyper Text Markup Language head tag.

Description

Consider a scenario wherein a browser is currently in the process of rendering a web page.  Further assume that backend servers take a time T to serve content in the web page.  If architecture of the backend servers is complicated, and if there is dependency of content on multiple other web services, the time ‘T’ could be high.  Also assume that the browser takes time‘t’ to download all style sheets specified in a header of the web page.  If the time ‘T’ is significantly greater than the time‘t’, then the browser can fetch JavaScript (JS) resources in a time window (T-t).

Current solutions do not exploit fetching the JS resources in the time window.  Further current solutions also do not take advantage of browser parallelism to fetch multiple JS resources at the same time.  Browser parallelism enables the browser to instantiate multiple connections for downloading multiple resources.

A method and system is disclosed for decreasing loading time of a web page by downloading JS resources specified inside a Hyper Text Markup Language (HTML) head tag.  Fig. 1 below illustrates a reduction in browser waiting time to 340 milliseconds by using the browser to download a JS resource.

Figure 1...