Javascript code optimizer
First Claim
1. A method of preparing a web content file for downloading over a computer network, comprising the steps:
- receiving a request from a browser for a web content file;
in response to receiving the request, reducing the size of the requested file by removing pre-identified subject matter from the file; and
downloading to the browser the reduced size file.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for preparing a web content file for downloading over a computer network. The method comprises the steps of receiving a request from a browser for a web content file; in response to receiving the request, reducing the size of the requested file by removing pre-identified subject matter from the file; and downloading to the browser the reduced size file. For example, the reducing step may include the step of removing comments and unused logic blocks from the file. These unused logic blocks are functions that are in the file but not used. The removing step may comprise the steps of consolidating duplicated logic blocks, and shortening recurring identifiers within the file. These duplicated functions may be consolidated by identifying the duplicated functions, and replacing the duplicated functions with a reference to a single function in a library.
-
Citations
15 Claims
-
1. A method of preparing a web content file for downloading over a computer network, comprising the steps:
-
receiving a request from a browser for a web content file;
in response to receiving the request, reducing the size of the requested file by removing pre-identified subject matter from the file; and
downloading to the browser the reduced size file. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system for preparing a web content file for downloading over a computer network, comprising:
-
means for receiving a request from a browser for a web content file;
means for reducing the size of the requested file, in response to receiving the request, by removing pre-identified subject matter from the file; and
means for downloading to the browser the reduced size file. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A program storage device readable by machine and tangibly embodying a set of instructions for the machine to perform method steps for preparing a web content file for downloading over a computer network, said method steps comprising:
-
receiving a request from a browser for a web content file;
in response to receiving the request, reducing the size of the requested file by removing pre-identified subject matter from the file; and
downloading to the browser the reduced size file. - View Dependent Claims (12, 13, 14, 15)
-
Specification