Patent ID: 8645916

Claim:
A computer-implemented method comprising: receiving a request for a resource at a server from a client; dynamically generating script at the server, responsive to the request; responsive to dynamically generating the script, passing the dynamically generated script to a crunch filter that is included as a component of a particular web application framework at the server and configured to crunch the dynamically generated script at runtime by applying a crunching algorithm to reduce a size of the dynamically generated script in a manner that does not substantially alter functionality of the dynamically generated script, the web application framework configured to detect filename extensions associated with different types of received requests from the client and invoke corresponding components to crunch the dynamically generated script; receiving crunched script from the crunch filter; and responsive to receiving the crunched script, communicating a response having the crunched script to be received by the client, the response having an identifier to indicate that the response includes dynamically generated crunched script that is associated with the particular web application framework.