1. A computer implemented method comprising: identifying a web application having a primary resource that references a secondary resource, wherein the secondary resource enables an overall functionality of the web application; creating a shell resource that contains a version identifier of the primary resource and a version identifier of the secondary resource; creating a cached version of the shell resource and a cached version of the secondary resource on a cloud server; creating a cache manifest for the web application; using one or more of the version identifier of the primary resource and the version identifier of the secondary resource to conduct a staleness check of the web application; updating one or more of the cached version of the shell resource and the cached version of the secondary resource based on the staleness check; updating the cache manifest based on the staleness check; and disabling staleness checking of version identifiers in the secondary resource.