A method loads a resource in a software application. The software
application comprises an ordered search path identifying at least one of
a plurality of resource containers. Each of the resource containers
includes a timestamp and an index in the ordered search path. The method
includes loading a resource from an originating resource container, the
originating resource container having an index in the ordered search
path, identifying a set of resource containers in the ordered search
path, each of the set of resource containers having an index less than or
equal to the index of the originating resource container, generating a
cached resource as a copy of the loaded resource, the cached resource
comprising the index of the originating resource container and a cached
resource timestamp, the cached resource timestamp corresponding to a
maximum timestamp of the resource containers in the set of resource
containers, and marking the cached resource as invalid in response to a
determination that a resource container in the set of resource containers
has a timestamp later than the cached resource timestamp, and the
identified resource container comprises the cached resource.