# Caching Settings

The Administrator Caching Settings page contains several configuration options you can set or enable to cache templates, queries, and data sources.

Caching Options
Option | Description
--- | ---
Template cache size | Use this option to specify how much memory you want to reserve for caching ColdFusion pages. For best performance, assuming your server has enough memory, you should set this value to the total number of kilobytes of all your active ColdFusion pages.
Trusted cache | Allows ColdFusion to use cached application pages (templates) without first checking to see if they've been changed.
Limit database connection inactive time | Use this option to limit the amount of time ColdFusion allows a cached dtabse connection to remain inactive. This option is ignored if the option to maintain database connections has not been enabled for an individual data source.
Limit maximum number of cached queries | Limits the maximum number of cached queries that the server will maintain. Cached queries allow for retrieval of result sets from memory rather than through a database transaction. The maximum number of cached queries allowed at any given time is 100. When this value is reached, the oldest query is dropped from the cache and replaced with the specified query.