发明名称 Javascript code optimizer
摘要 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.
申请公布号 US2002138526(A1) 申请公布日期 2002.09.26
申请号 US20010814042 申请日期 2001.03.20
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 CRAWFORD KEVIN E.;DAVIA CHRISTOPHER J.
分类号 G06F17/30;(IPC1-7):G06F17/21 主分类号 G06F17/30
代理机构 代理人
主权项
地址