Share via


FpcCacheAction Enumeration

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

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
Header

Declared in Comenum.h.

See Also

Enumerated Types

Send comments about this topic to Microsoft

Build date: 6/30/2010