Providing category-specific electronic content includes receiving a
request for electronic content. The request has an attribute. The
attribute of the received request is compared to an attribute related to
a query included in a log of search queries. An indication of a category
that represents a search query from a log of search queries that is
related to an attribute that matches the attribute of the received
request is accessed, and electronic content that is representative of the
identified category is accessed and provided. Caching electronic content
includes receiving electronic content for inclusion in a cache, the
electronic content having an attribute and identifying a category to
which the electronic content corresponds An indication of a category that
represents a query from a log of search queries that is related to an
attribute that matches the attribute of the electronic content is
accessed. The electronic content is included in a cache when the
identified category matches the indicated category.