Optimized delivery of web application code
First Claim
22. A computer program product for optimizing application code for deployment to a client over a data link, wherein only the code needed by a given object within said application is supplied to the client with said object, said computer program product comprising a computer usable storage medium having computer readable computer code means embodied in the medium, the computer code means comprising computer readable program code means for:
- providing means for parsing said code;
using said parsing means, scanning said application code to identify all entry points and all available resources, wherein an entry point comprises a resource call;
determining which of said resources are required by said object; and
concatenating said required resources into a single file;
wherein said single file contains only code required by said object, so that download time for said application code is minimized.
7 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
41 Claims
-
22. A computer program product for optimizing application code for deployment to a client over a data link, wherein only the code needed by a given object within said application is supplied to the client with said object, said computer program product comprising a computer usable storage medium having computer readable computer code means embodied in the medium, the computer code means comprising computer readable program code means for:
-
providing means for parsing said code;
using said parsing means, scanning said application code to identify all entry points and all available resources, wherein an entry point comprises a resource call;
determining which of said resources are required by said object; and
concatenating said required resources into a single file;
wherein said single file contains only code required by said object, so that download time for said application code is minimized. - View Dependent Claims (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41)
-
-
27-1. The computer program product of claim 26, wherein said actions associated with web page elements include HTML form actions.
Specification