Introduction to the Forefront TMG Cache Objects
See the Forefront TMG Administration Object Model to view how the cache-related objects fit into the entire object hierarchy.
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.
Active caching is always disabled in Forefront TMG.
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.
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.
- 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.
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.
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