Optimized delivery of web application code
First Claim
1. A computer implemented method for execution on a server computer for preparing application code for deployment to a client over a data link, wherein external code to be used by a web page is supplied to the client, the method comprising:
- automatically scanning the web page to identify code external to the web page and referenced by the web page;
extracting the identified external code referenced by the web page from at least one import file associated with the web page, wherein the at least one import file further includes code which is not referenced by the web page;
concatenating the extracted external code into a new import file;
modifying the web page to reference the concatenated external code contained in the new import file;
receiving a request from the client to access the web page; and
transmitting the new import file and the modified web page to the client in response to the request from the client to access the web page.
7 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods are provided for optimizing application code for deployment to a client over a data link 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 may be scanned to identify code resources called by a particular web page. When all called resources are identified, they may be extracted and concatenated into a single resource file. When the page is downloaded to the client, the import file may be 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 disclosed systems and methods are suitable for use with other interpreted scripting languages.
41 Citations
27 Claims
-
1. A computer implemented method for execution on a server computer for preparing application code for deployment to a client over a data link, wherein external code to be used by a web page is supplied to the client, the method comprising:
-
automatically scanning the web page to identify code external to the web page and referenced by the web page; extracting the identified external code referenced by the web page from at least one import file associated with the web page, wherein the at least one import file further includes code which is not referenced by the web page; concatenating the extracted external code into a new import file; modifying the web page to reference the concatenated external code contained in the new import file; receiving a request from the client to access the web page; and transmitting the new import file and the modified web page to the client in response to the request from the client to access the web page. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory computer readable storage medium storing a computer program product which, when executed by at least one processor, causes the processor to perform a method for preparing application code for deployment to a client over a data link, wherein external code to be used by a web page is supplied to the client, the method comprising:
-
automatically scanning the web page to identify code external to the web page and referenced by the web page; extracting the identified external code referenced by the web page from at least one import file associated with the web page, wherein the at least one import file further includes code which is not referenced by the web page; concatenating the extracted external code into a new import file; modifying the web page to reference the concatenated external code contained in the new import file; receiving a request from the client to access the web page; and transmitting the new import file and the modified web page to the client in response to the request from the client to access the web page. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A system for preparing application code of a web page for deployment to a client comprising:
-
a server system comprising a memory and a processor; and a program system stored in the memory and configured to be executed by the processor to; automatically scan the web page to identify code external to the web page and referenced by the web page; extract the identified external code referenced by the web page from at least one import file associated with the web page, the at least one import file further including code which is not referenced by the web page; concatenate the extracted external code into a second import file; modify the web page to reference the concatenated external code contained in the second import file; receive a request from the client to access the web page; and transmit the second import file and the modified web page to the client in response to the request from the client to access the web page. - View Dependent Claims (26)
-
-
27. A computer implemented method for deploying a web page to a client over a network, the method comprising;
-
automatically scanning the web page to identify code external to the web page and referenced by the web page; extracting the identified external code from a first import file associated with the web page, the first import file also including code not referenced by the web page; concatenating the extracted external code into a second import file; modifying the web page to reference the concatenated external code contained in the second import file; receiving a request from the client to access the web page; and responsive to the request, transmitting the modified web page and the second import file to the client.
-
Specification