Patent 7882089 was granted and assigned to Adobe Inc. on February, 2011 by the United States Patent and Trademark Office.
Embodiments for caching database information are disclosed. A query may specify a set of information to be retrieved from a database file. The database file may be parsed according to the query to retrieve the set of information. The query and the corresponding set of information retrieved from the database file may be stored in a cache file. The cache file may be searched for the query, which may enable the set of information to be retrieved from the cache file. Searching the cache file and retrieving the set of information from the cache file may be faster than searching the database file to retrieve the set of information. The cache file may be associated with a currency token which may indicate whether the cache file is current. The currency token may indicate whether the database file has been updated since being parsed according to the query.