Techniques are provided for performing transaction-aware caching of
metadata in an electronic file system. A mechanism is described for
providing transaction-aware caching that uses a cache hierarchy, where
the cache hierarchy includes uncommitted caches associated with sessions
in an application and a committed cache that is shared among the sessions
in that application. Techniques are described for caching document
metadata, access control metadata and folder path metadata. Also
described is a technique for using negative cache entries to avoid
unnecessary communications with a server when applications repeatedly
request non-existent data.