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

  • How objects are provided from the cache
  • Whether objects should be stored in the cache
  • The size of objects that can be cached
  • Whether Secure Sockets Layer (SSL) responses will be cached.
  • Whether content supplied after user authentication by the Web server will be cached.
  • The configuration settings in an FPCFTPCacheConfiguration object for FTP caching.
  • The configuration settings in an FPCHTTPCacheConfiguration object for HTTP caching.

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.

 

 

Build date: 7/12/2010

Community Additions

ADD
Show: