FpcCacheAction enumeration

Applies to: desktop apps only

The FpcCacheAction enumerated type contains values that specify the conditions for which an object will be retrieved from the Forefront TMG cache and the conditions for which a new version of the object will be obtained from the Internet.

Syntax

typedef enum FpcCacheAction { 
  fpcServeFromCacheIfValidObjectExists  = 0,
  fpcServeFromCacheIfObjectExists       = 1,
  fpcServeFromCacheOnly                 = 2
} FpcCacheAction;

Constants

  • fpcServeFromCacheIfValidObjectExists
    If there is a valid (unexpired) version of the object in the cache, the cached object should be used. Otherwise, a new version of the object should be obtained from the Internet.

  • fpcServeFromCacheIfObjectExists
    If any version of the object is found in the cache, the cached object should be used. Otherwise, the object should be obtained from the Internet.

  • fpcServeFromCacheOnly
    If any version of the object is found in the cache, the cached object should be used. Otherwise, an error page should be returned, and no attempt should be made to obtain the object from the Internet.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Comenum.h

See also

Enumerated Types

 

 

Build date: 7/12/2010