1. A method for preloading resources for an application, comprising: determining resources to preload on a client before the application needs the resources; and preloading the client with the resources; when the resources are located on a server, then downloading the resources from the server, storing the resources locally on the client; and obtaining the resources locally when the resources are stored on the client; wherein the application is configured to execute with a subset of the resources associated with the application.