K2 Runtime web.config File Performance Settings
The following Performance items are available in the K2 runtime web.config file typically found at: C:\Program Files\K2\K2 smartforms Runtime\Web.config. Default settings have been applied and tested for optimum performance.
Node | Change permitted? | Description | Value |
---|---|---|---|
Copy
Forms.Compression
|
No | Additional Compression Setting. For this setting to work optimally the Dynamic and Static Compression services must be installed on the relevant IIS servers. This is done by checking/adding the Role Service under the Server Manager Roles Tab | N/A |
Copy
SmartObject.RuntimeListViewRowCount
|
Yes | SmartObject Execution Setting. Change the value to true if the Row Count should be enabled on List Views. If this setting is enabled, it will have an impact on performance. When using false as the value the last page button is removed and total page count is removed from the User Interface |
One of the following:
|
Copy
Forms.Performance.Counters.Enabled
|
Yes | Performance Counters - Requires that the Application Pool identity is a local Administrator |
One of the following:
|
No | Creates a single connection to the K2 HostServer and shares this connection for Ajax calls, Page rendering etc | N/A | |
* Yes | Allows for re-use of connections to the base API for multiple requests |
One of the following:
|
|
* Yes | Default is zero meaning when the Application Pool is initialized, the pool size will grow as the load grows | N/A | |
* Yes | Default is zero meaning when the Application Pool is initialized, the pool size will grow as the load grows. If this setting is changed, it is advised to keep it as high as possible for example 1000. The recommended setting is zero | N/A | |
Copy
Forms.PostRenderCombining
|
Do not change | Post render combining settings - Combined resource of CSS and script files after Form has been rendered, delivered as one file to the browser. This setting can be disabled by changing the value of the first tag to false for debugging purposes, but the rest of the settings should always stay as it is. This setting should be disabled when the "UseBundledFiles" setting is set to false. | N/A |
Copy
Forms.PostRenderCombining.IgnoreLoadErrors
|
* Yes | Post render combining settings - When set to false (the default) and any resources being loaded for combining fail, a 500 (Internal Server Error) response code is returned to the browser along with the combined resource response resulting in none of the successful combined resources to be available to the browser. When set to true any errors that occurred when loading resources for combining will be ignored, and the final response that is sent to the browser will have a 200 (OK) response code resulting in resources that didn't fail to load still being available to the browser. |
One of the following:
|
Copy
Forms.PostRenderCombining.RelativeRootOverride
|
Yes | RelativeRootOverride - used when the server cannot access the individual js and CSS resources it needs to build the combined resource (PostRenderCombining), using the external root URL (such as http://www.k2.com), but rather must use an internal root URL(such as http://internal.k2.com). When the combined resource's functionality does not have access to the resources using the external URL, this may result in the 500 errors on CombinedResources.ashx requests. | URLs such as http://internal.k2.com |
* You can change these values but it's not recommended |