Tune the Performance of the FCC
Disable FCC Realm Context Confirmation to Improve Performance
During forms authentication, the Web Agent makes an IsProtected call to the Policy Server to determine if the requested resource is protected. After this first call, the Web Agent typically makes an additional IsProtected call to the Policy Server. This second call establishes a realm context so that the Web Agent can log a user in with an FCC to access a protected resource. You can control whether the Web Agent makes this additional call using the following parameter:
Specifies whether the Web Agent makes an additional IsProtected call to the Policy Server to establish a realm context so that the Web Agent can log a user in to access a protected resource.
When this parameter is set to no, the Web Agent uses the realm information obtained from its initial IsProtected call to the Policy Server instead.
To improve performance by disabling the FCC realm context confirmation, set the value of the FCCForceIsProtected parameter to no.
Use the Form Cache
The form cache stores form template data. Storing template data improves performance because the agent no longer reads the .fcc files multiple times for the same data. When a resource with an FCC extension is accessed, the FCC reads and processes the corresponding template file. An agent performs hundreds of these read operations each second.
The form cache relieves the FCC by storing form template files in memory where they can be read easily. Because virtual memory access is faster than disk access, allowing FCC components to process forms more quickly with reduced strain on the host server.
The improved processing time increases the capacity of the FCC for serving requests for each web server. Forms authentication becomes more efficient.
Form Cache Data
The data stored in the form cache consists of the form template text, which is parsed beforehand into data structures. These data structures optimize FCC processing.
These data structures include:
- Form locale data for internationalization
- An ordered list of data objects containing raw text in UTF-8 format, template directive information and function/variable information for substitution from the request environment.
Directives, functions, and variables are processed from the top of the FCC file down.
Configure the Form Cache
Forms can be cached to improve performance and reduce unnecessary network traffic. You can control the settings of form cache with the following parameters:
Controls the forms template cache. Setting this parameter to yes, improves the performance of forms authentication. To disable the cache, set this parameter to no.
Specifies the number of seconds that an object may reside in cache before being considered invalid. When the timeout interval expires, the date and time of the form template file is compared against the time that the cache object was created. If the object in the cache is stored more recently than the file on disk, the timeout is reset for another interval. Otherwise, the object is removed from the cache.