Patent ID: 8683319

Claim:
A web browsing device comprising: a host device including memory to store one or more software applications, and one or more processors to execute the software applications; a web browser application executed on the host device and comprising: a browser engine to display a plurality of web documents in a corresponding number of different display components of a graphical user interface; and an interpreter to interpret embedded code in the plurality of web documents, and configured to: generate an intermediate representation of the embedded code in a web document of the plurality of web documents; store the intermediate representation of the embedded code in a corresponding dedicated memory resource; determine whether an intermediate representation of an external file referenced by the embedded code in the web document is stored in a shared memory resource available to two or more display components; if the intermediate representation of the external file referenced by the embedded code in the web document is stored in the shared memory resource, link the intermediate representation of the embedded code in the dedicated memory resource to the intermediate representation of the external file referenced by the embedded code in the web document in the shared memory resource; and if the intermediate representation of the external file referenced by the embedded code in the web document is not stored in the shared memory resource, fetch the external file referenced by the embedded code in the web document, generate an intermediate representation of the external file referenced by the embedded code in the web document, and store the intermediate representation of the external file referenced by the embedded code in the web document in the shared memory resource.