RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
HTTPApp.TWebModuleCacheMode Enumeration

TWebModuleCacheMode indicates whether the WebSnap application can cache Web module instances for reuse with other request messages.

Pascal
TWebModuleCacheMode = (
  caCache,
  caDestroy
);
C++
enum TWebModuleCacheMode {
  caCache,
  caDestroy
};

The following table lists the possible values:

Option 
Meaning 
caCache  
After finishing with the current request message, the WebSnap application caches instances of the Web module, which can be reused with the next request message that requires that type of Web module.  
caDestroy  
The WebSnap application frees instances of the Web module after finishing with the current request. The next request message that requires the same type of Web module causes the WebSnap application to create a new Web module instance.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!