The <dump-caches> tag can be used to print out the contents of the item cache for one or more item descriptors. It has no child tags.

dump-caches Tag Attributes

Attribute

Description

Value

dump-type

The debug value causes the items in the cache to be logged.

The queries value creates a log entry consisting of the <load-items> tag that would be used to re-load the cache. See the example below.

The both value both logs the items in the cache and logs the <load-items> tag.

debug, queries, or both

item-descriptors

A comma-separated list of one or more item descriptor names. If no item descriptors are specified, all item descriptor caches are exported.

For example, the following <dump-caches> tag:

<dump-caches item-descriptors="product" dump-type="queries"/>

might cause the following to be logged, if there were four product items in the cache:

============== START BUFFER PRECACHE ==============
<load-items item-descriptor="product">
    prod100003,prod100002,prod100001,prod10001
</load-items>
=============== END BUFFER PRECACHE===============
 
loading table of contents...