Patent ID: 8700803

Claim:
A method implemented on a computer in communication with a computer-readable storage medium, the method comprising: selecting an original source code that includes instructions that when executed by one or more computers produce a visual output; identifying a server-side executable portion of the original source code and a server-side static portion of the original source code; assigning an identifier to the server-side static portion of the original source code; separating the server-side executable portion of the original source code from the server-side static portion of the original source code; combining the server-side executable portion of the original source code with the identifier to create an intermediate source code, wherein the identifier replaces the server-side static portion of the original source code; creating an optimized version of the source code comprising: a client-side executable program operable to replace the identifier in the intermediate source code with the server-side static portion of the original source code; and the intermediate source code and the server-side static portion of the original source code; wherein the server-side executable portion of the optimized version of the source code is encoded using a first technique and the other portions are encoded with a second technique, and wherein the first encoding comprises: determining a location of a syntax character in the optimized version of the source code; replacing the syntax character with an alternate character; storing a datum indicating the location of the replaced syntax character; wherein the optimized version of the source code when executed by one or more computers produces the visual output; and updating at least a portion of the computer readable medium to include a representation of the optimized version of the source code.