Crunching Dynamically Generated Script Files
AssigneeMicrosoft Corporation
InventorPeter J. Hanus
Life of this patent
Estimating the term…
Abstract
Various embodiments enable dynamic crunching of script that can be referenced in a webpage. In at least some embodiments, a browser at a client can be employed to navigate to a webpage available from a server. The webpage can be a static webpage or a dynamically generated webpage. In response to a request from the client to the server, the server can be configured to dynamically generate script referenced in a webpage. Dynamic generation of the script at the server can include configuring the script and crunching of the script to reduce its size. The server can communicate a response having the dynamically crunched script to the client to enable execution of the script by the browser.
Claims20
A computer-implemented method comprising:
- receiving a request for a resource at a server from a client;
- dynamically generating the script at the server, responsive to the request;
- crunching the dynamically generated script;
- and
- communicating a response having the crunched script to be received by the client.
A computer-implemented method comprising:
- dynamically generating script for a webpage responsive to detecting an identifier associated with the script in a resource request received from a client;
- filtering the dynamically generated script to reduce a size of the script;
- and
- configuring a response to the resource request to include the script for communication to the client.
A system comprising:
- one or more processors;
- one or more computer-readable storage media storing one or more modules executable via the one or more processors to implement a web-application framework configured to:
- dynamically generate JavaScript according to an HTTP request received from a client browser that includes a file name extension associated with JavaScript;
- filter the dynamically generated JavaScript to reduce a size of the dynamically generated JavaScript;
- generate a response to the HTTP request;
- and
- include the filtered JavaScript in the response for communication to the client browser.
Dependencies are inferred from the claim text.