1. A caching method comprising: analyzing a structure of a resource in a system which exposes resources to clients; generating a dependency graph of objects linked to a resource based on the analyzed structure of the resource; and managing caching of resources based on the generated dependency graphs, wherein a generated dependency graph comprises hierarchical dependency information with respect to the objects of the resource.