主权项 |
1. A system for accessing locally stored content for a web application, the system comprising:
one or more processors; and local storage, residing on a random access memory (RAM) and a disk, the local storage comprising: precompilable software code for a web application stored on the disk; and a client application software code area, the client application software code area storing instructions which, when executed by the one or more processors, cause the one or more processors to implement a method, the method comprising: receiving a user input for requesting a web application; providing, via a network, a network request for the web application; placing the stored software code for the web application from the disk into the random access memory (RAM); precompiling at least a portion of the stored software code prior to receiving a response to the network request; receiving the response to the network request for the web application; determining, upon receiving the response to the network request for the web application, whether the stored software code is equivalent to at least a part of the software code received in the response to the network request; if the stored software code is equivalent to the at least the part of the software code received in the response to the network request, then executing the precompiled portion of the stored software code; and if the stored software code is not equivalent to the at least the part of the software code received in the response to the network request, then compiling and executing the software code received in the response to the network request while forgoing execution of the precompiled portion of the stored software code. |