PublishingCache Class
Provides the static ListCacheContents() method to output the cache contents of an SPSite object to a Stream object.
Namespace:
Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)