Bundling of web application code for optimized delivery
First Claim
1. A method comprising:
- identifying, by a server, one or more first external code resources referenced by a web page hosted by the server;
inspecting, by the server, using at least one processor, the one or more first external code resources to identify one or more second external code resources referenced by the one or more first external code resources to determine a set of code external to the web page utilized for one or more features of the web page to function;
bundling, by the server, the one or more first external code resources and the one or more second external code resources into an import file; and
sending the import file to a client device in response to a request from the client device to access the web page,wherein identifying one or more first external code resources referenced by a web page comprises identifying markup language code and one or more scripting language code blocks referenced by the web page.
5 Assignments
0 Petitions
Accused Products
Abstract
Application code for deployment to a client over a data link is optimized to minimize download time by supplying only the application code with a particular object that is required by the object. In a web application that includes multiple pages, the HTML and JAVASCRIPT are scanned to identify code resources called by a particular web page. When all called resources are identified, they are extracted and concatenated into a single resource file. When the page is downloaded to the client, the import file is included with the page. The import file may be cached so that it need only be downloaded once, rather than being downloaded every time the page is requested. The invention is suitable for use with other interpreted scripting languages.
-
Citations
17 Claims
-
1. A method comprising:
-
identifying, by a server, one or more first external code resources referenced by a web page hosted by the server; inspecting, by the server, using at least one processor, the one or more first external code resources to identify one or more second external code resources referenced by the one or more first external code resources to determine a set of code external to the web page utilized for one or more features of the web page to function; bundling, by the server, the one or more first external code resources and the one or more second external code resources into an import file; and sending the import file to a client device in response to a request from the client device to access the web page, wherein identifying one or more first external code resources referenced by a web page comprises identifying markup language code and one or more scripting language code blocks referenced by the web page. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system comprising:
-
a communication device for communicating with a client device over a network; a server comprising a memory and at least one processor; and a program stored in the memory and configured to be executed by the at least one processor to; identify one or more first external code resources referenced by a web page hosted by the server; inspect the one or more first external code resources to identify one or more second external code resources referenced by the one or more first external code resources to determine a set of code external to the web page utilized for one or more features of the web page to function; bundle the one or more first external code resources and the one or more second external code resources into an import file; and send the import file to the client device in response to a request from the client device to access the web page, wherein identifying one or more first external code resources referenced by a web page comprises identifying markup language code and one or more scripting language code blocks referenced by the web page. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A non-transitory computer readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, cause a computer system to:
-
identify one or more first external code resources referenced by a web page hosted by a server; inspect the one or more first external code resources to identify one or more second external code resources referenced by the one or more first external code resources to determine a set of code external to the web page utilized for one or more features of the web page to function; bundle, by the server, the one or more first external code resources and the one or more second external code resources into an import file; and send the import file to a client device in response to a request from the client device to access the web page, wherein identifying one or more first external code resources referenced by a web page comprises identifying markup language code and one or more scripting language code blocks referenced by the web page. - View Dependent Claims (14, 15, 16, 17)
-
Specification