1. A method of managing a network directory cache, comprising the steps of: receiving and storing a plurality of user queries; creating a query template that generalizes the user queries; and retrieving directory entries answering the query template so that the directory entries can be stored in the cache.