Use the Caching page to set caching preferences:
Click Server>Caching in the ColdFusion Administrator navigation frame. The Caching page appears.
Select Caching options as described in the following table:
Option |
Description |
Default |
Template cache size: [n] kilobytes |
This option limits the amount of memory reserved for template caching. Enable the option by entering the number of kilobytes. Assuming your server has enough memory, set this value to the total number of kilobytes of all your active ColdFusion pages to provide best performance. |
1024 KB |
Trusted cache |
Enable this option if you want to have ColdFusion use cached application pages (templates) without first checking to see if they changed. For sites where templates are not updated during the life of the server, using this option minimizes file system overhead. |
Disabled |
Limit cached database connection inactive time to [n] minutes |
Enable this option by entering a value to limit the amount of time that ColdFusion allows a cached database connection to remain inactive before it is disconnected. Enter 0 if inactive connections should be maintained as long as the ColdFusion Server is executing. This option is ignored if the option to maintain database connections is not enabled for an individual data source. |
31 |
Limit the maximum number of cached queries on the server to [n] queries |
Enable this option by entering a value to limit the maximum number of cached queries that the server maintains. Cached queries allow for retrieval of result sets from memory rather than through a database transaction. Because queries reside in memory, and query result set sizes differ, you must provide some user-imposed limit for the number of cached queries.
The maximum number of cached queries allowed is 100. When this value is reached, the oldest query is dropped from the cache and replaced with the specified query. |
100 |
Click Submit Changes to save your settings.