Introduction to the Forefront TMG Cache Objects

The Forefront TMG cache is administered through the cache COM objects. The objects are described briefly here and in more detail in the Administration Reference section.

See the Forefront TMG Administration Object Model to view how the cache-related objects fit into the entire object hierarchy.

FPCCache Object

The FPCCache object is primarily a container for most of the configuration objects listed below. You can access the FPCCacheConfiguration and FPCCacheContents objects and the FPCScheduledContentDownload collection directly through this object. You can access the FPCActiveCacheConfiguration object and the FPCCacheRules through properties of the FPCCacheConfiguration object.

The FPCCache object can be accessed through the Cache property of an FPCArray object and administers the cache for all servers in the Forefront TMG array.

FPCCacheConfiguration Object

The FPCCacheConfiguration object is primarily a container for the FPCActiveCacheConfiguration object and the FPCCacheRules collection.

FPCActiveCacheConfiguration Object

The FPCActiveCacheConfiguration object provides access to the active caching configuration settings in a Forefront TMG array.

Active caching is always disabled in Forefront TMG.

FTPCacheConfiguration Object

The FPCFTPCacheConfiguration object provides access to the FTP caching settings for a single cache rule (an FPCCacheRule object). FTP caching is the caching of FTP objects. You can use this object to choose whether to activate FTP caching and configure the FTP caching settings for the cache rule.

HTTPCacheConfiguration Object

The FPCHTTPCacheConfiguration object provides access to the HTTP caching settings for a single cache rule (an FPCCacheRule object). HTTP caching is the caching of HTTP objects. You can use this object to choose whether to activate HTTP caching and configure the HTTP caching settings for the cache rule.

FPCCacheRules Collection

The FPCCacheRules collection holds a set of FPCCacheRule objects, each representing a cache rule. A cache rule defines cache policy for all content or specific content groups, including

FPCCacheContents Object

The FPCCacheContents object permits greater control over caching through the FetchUrl method. This method is used to actively download a specific URL directly to the cache and to set the time that the cached object will be stored in the cache. The FetchUrl method can also be used to delete an object from the cache.

FPCScheduledContentDownload Collection

The FPCScheduledContentDownload collection allows you to create a list of predefined scheduled content download tasks. Each task is represented by an FPCScheduledContentDownloadConfig object.

FPCCacheDrive Object and FPCCacheDrives Collection

The FPCCacheDrives collection is accessed through a property of the FPCServer object and holds a set of FPCCacheDrive objects that represent thecache drives on the server. The FPCCacheDrive objects allow an administrator to programmatically access and adjust the size of the cache drives.


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.